I have check this code a few times and can’t see any errors in it yet it still won’t load the body background image. I have no idea why because everything to me looks fine.
Here is the HTML
[CODE]<!– Doctype : Choose one and delete this comment –>
<!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>
<title> </title>
<!– Meta Tags –>
<meta http-equiv=”content-type” content=”application/xhtml+xml; charset=utf-8″ />
<meta name=”robots” content=”index, follow” />
<meta name=”description” content=”” />
<meta name=”keywords” content=”” />
<meta name=”author” content=”” />
<!– Favicon –>
<link rel=”shortcut icon” href=”” />
<!– CSS –>
<link rel=”stylesheet” href=”style.css” type=”text/css” />
<!– RSS –>
<link rel=”alternate” href=”” title=”RSS Feed” type=”application/rss+xml” />
<!– JavaScript : Include and embedded version –>
<script src=”” type=”text/javascript”></script>
</head>
<body>
<div id=”wrapper”> <!– start wrapper –>
<div id=”nav”> <!– start nav –>
</div> <!– end nav –>
<div id=”feature”> <!– start feature –>
<img src=”images/fimg.png” alt=”Blinds Images” />
</div> <!– end feature –>
<div id=”body”>
<div id=”content”> <!– start main content –>
Mark
</div> <!– end main content –>
<!– Start side –>
<div id=”side”>
<div class=”box”>
<!– contact form –>
<div id=”cbox”>
<h3>Quick Contact & Call Back Form</h3>
<form>
<input type=”text” name=”name” size=”32″></textarea>
<input type=”text” size=”32″></textarea>
<input type=”text” size=”32″></textarea>
<textarea rows=”15″ cols=”32″ name=”message”></textarea>
</form></div> </div> </div>
</div>
</div>
</body>
</html>
Here is the CSS.
[CODE]*{ margin:0; padding:0}
#wrapper {width: 1000px; margin: 0 auto;}
#nav {background: url(images/nvbg.png) repeat-x; height:54px;}
#feature{background: url(images/fbg.png) repeat-x; height:242px; }
#feature img {float: right; margin-right: 22px; margin-top: 22px;}
#body {background: url(images/conbg.jpg) repeat-x;}
#content {float: left; width: 699px;}
#side {float: right; width: 300px;}
#footer {background: url(images/ftbg.jpg) repeat-x; height: 150px;}
Do you see anything wrong with the id “body” because that is the element giving the problem?
Thanks all.