hello agn
seems I have a new problem now and not sure what went wrong.
For some reason I cant get the full header size to show.. its suppose to be 642 by 319 and I have columns in the way of it. Another problem I have is what I'm doing looks lined up and fine in homesite
http://img404.imageshack.us/img404/8738/11yx.jpg but when I check it in IE/Firefox it looks like this..
http://img404.imageshack.us/img404/4006/27gt.jpg
Is there something Im missing?
heres my xhtml:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Dave Shea" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="robots" content="all" />
<title>vacooter</title>
<link href="css/main.css" type="text/css" rel="stylesheet" />
</style>
<link rel="Shortcut Icon" type="image/x-icon" href="" />
</head>
<body>
<div id="container">
<div id="header"><h1>Header blah blah blah</h1></div>
<div id="nav">
<a href="#">home</a> |
<a href="#">portfolio</a> |
<a href="#">services</a> |
<a href="#">about</a> |
<a href="#">contact</a>
</div>
<div id="main">
<h2>Column 1</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit...</p>
</div>
<div id="sidebar">
<h4>Latest Projects</h4>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit...</p>
</div>
<div id="footer">
<p>Footer</p>
</div>
</div>
</body>
</html>
CSS:
Code:
body{
margin: 0;
padding: 0;
background-color:#242424;
background-image:url(gfx/bg.gif);
background-repeat:repeat;
background-position:top;
color:#ffffff;
font-family:Trebuchet MS, Arial, Helvetica, sans-serif;
font-size:10px;
}
#container{
background:red;
width:642px;
height:875px;
margin:0 auto;
padding:0;
#header{
position:top center;
background:green;
background-repeat:no-repeat;
background-position:top center;
width:642px;
height:319px;
margin:0;
padding:0;
#nav{
text-align:right;
}
#main{
text-align:left;
background:blue;
float:right;
width:475px;
height:556px;
}
#sidebar{
text-align:center;
background:purple;
float:left;
width:167px;
height:556px;
}
#footer{
text-align:right;
background:yellow;
width:642px;
height:3px;
clear:both;
}
a:link {
color:#ffffff;
text-decoration:none;
}
a:hover{
color:#8fc9e4;
text-decoration:none;
}
a:visited {
color:#509ecc;
}
a:active {
color:#8fc9e4;
}
acronym{
font-style:italic;
border-bottom: 1px dotted #8fc9e4;
}
thx for the help so far