<head>
<title>Untitled Document</title>
<style type="text/css">
ul
{
padding-left: 0;
margin-left: 0;
background-color: #f81e1d;
color: White;
float: left;
width: 930px;
font-family: arial, helvetica, sans-serif;
}
ul li { display: inline; }
ul li a
{
padding: 0.2em 1em;
background-color: #f81e1d;
color: White;
text-decoration: none;
float: left;
border-right: 1px solid #fff;
}
ul li a:hover
{
background-color: #fc9392;
color: #fff;
}
</style>
</head>
<body style = "background:#fd5857 url('background.gif') repeat-x top;">
<div id = "wrapper" style="width:950px; margin:auto; background-color:white; margin-top:0;">
<div style = "width:930px; background-image:url('image1.gif'); background-repeat:repeat-x; margin-bottom:0:">
<img src = "image2.gif" />
</div>
<div style = "margin-top:0;">
<ul style = "margin-top:0; border-top:1px white solid;">
<li id="active"><a href="#" id="current">Item one</a></li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
<li><a href="#">Item four</a></li>
<li><a href="#">Item five</a></li>
</ul>
</div>
<div id ="content">
<div style = "float:left;">
<img src="image3.jpg" width="310" height="400" alt="" style="background-color: #F81E1D ;margin:0; " />
</div>
<div style = "float:left;margin-left:10px;">
<img src="image4.jpg" width="290" height="400" alt="" style="background-color: #F81E1D; margin:0;" />
</div>
<div style = "float:left; margin-left:10px;">
<img src="image5.jpg" width="310" height="400" alt="" style="background-color: #F81E1D; margin:0;" />
</div>
</div>
</div>
</body>
I’m having trouble with my background. For some reason the body background is going through the div wrapper even though the div wrapper background is styled as white.
Could anyone suggest a way of fixing this.