View Full Version : Improve the heading in my site

Feb 5th, 2007, 09:31 PM
At the moment, I simply have just a logo displayed in my heading.

I would like this changed to something that takes up a similar space to the current logo, but which has:

1) An eye catching background colour

2) Some free format description about my site

3) Space to add some links to other sites (how would I code linking to other sites?)

At the moment I have 2 sections of code for my heading, one is the header include file, and the other is the style.css.

Can you advise how to improve this. My current code is:

File 1: header include file

include 'config.php';
include 'libraries/db.class.php';
include 'libraries/functions.lib.php';
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title><?php echo $cfg['site_name']; ?></title>
<meta name="robots" content="all" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="description" content="<?php echo $cfg['description']; ?>" />
<meta name="keywords" content="<?php echo $cfg['keywords']; ?>" />
<link rel="stylesheet" href="css/style.css" type="text/css" />

<!-- BEGIN Header -->
<div id=header></div>
<!-- END Header -->

File 2: style.css

* Header
#header {
margin: 0px auto;
height: 100px;
width: 1000px;
background-color: #ccc;
border-top: 1px #000 solid;
border-bottom: 0px #000 solid;
border-left: 1px #000 solid;
border-right: 1px #000 solid;
background: url('../images/logo.jpg') 100% no-repeat;

Feb 5th, 2007, 10:54 PM
Yes, my advice would be to:

1. Not ask for design advice in the HTML/CSS forum.
2. Don't cross-post, which is against the forum Rules (http://codingforums.com/rules.htm) and Posting Guidelines (http://codingforums.com/postguide.htm).