Right, it's been a while since I did much with HTML and CSS so I'm very rusty...
I'm trying to make a simple homepage and have got stuck at the first hurdle...
Essentially I want the site to look sort of like this...
The two yellow boxes are there for future logos and images and the four boxes at the bottom for text and photos. The container will wrap around all the divs and the "container 2" will hopefully sit below the nav bar and contain the four boxes (not coded in).
What I have at the moment is this http://wildaboutlife.net/test/site/
This is the HTML I've written so far:
and this is the CSS:
What am I doing wrong?
Thanks
I'm trying to make a simple homepage and have got stuck at the first hurdle...
Essentially I want the site to look sort of like this...

The two yellow boxes are there for future logos and images and the four boxes at the bottom for text and photos. The container will wrap around all the divs and the "container 2" will hopefully sit below the nav bar and contain the four boxes (not coded in).
What I have at the moment is this http://wildaboutlife.net/test/site/
This is the HTML I've written so far:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>title</title>
<link href="CSS.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id=container>
<div id="top left">
</div>
<div id="top right">
</div>
<div id="nav bar">
</div>
<div id="image"><img src="1.jpg" width="940" height="250" alt="main image" />
</div>
<div id="container 2">
</div>
</div>
</body>
</html>
and this is the CSS:
Code:
body{
background-image:url(back1.gif);
font-family:Verdana, Geneva, sans-serif;
font-size:small;
}
container{
margin-top:25px;
width:950px;
margin-left:auto;
margin-right:auto;
}
top left{
float:left;
width:140px;
height:120px;
background-color:#FF9
}
top right{
float:right;
width:500px;
height:120px;
background-color:#FF9
}
nav bar{
height:35px;
background-color:#666;
background-image:url(side-noside.png)
}
container2{
}
What am I doing wrong?

Thanks
