Hi Guys,
Just made a website, coded it by hand using XHTML Strict 1.0 and CSS. All validates fine and displays correctly in Firefox, Opera, Chrome and Safari. It totally screws up in IE.

Firefox View

IE View
HTML:
CSS:
Thanks in Advance.
Just made a website, coded it by hand using XHTML Strict 1.0 and CSS. All validates fine and displays correctly in Firefox, Opera, Chrome and Safari. It totally screws up in IE.

Firefox View

IE View
HTML:
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" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Love 2 Drive School of Motoring - Home</title>
<link rel="stylesheet" type="text/css" media="screen" href="styles.css" />
</head>
<body>
<div id="wrapper">
<div id="banner"></div><!--//banner-->
<div id="underbanner"><img src="images/under_banner_2.jpg" alt="Under banner image" /></div><!--//underbanner-->
<div id="nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="aboutus.html">About Us</a></li>
<li><a href="pricing.html">Pricing</a></li>
<li><a href="contactus.html">Contact Us</a></li>
</ul>
</div><!--//nav-->
<div id="contentcontainer">
<div id="content">
<h2>Home</h2>
<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
</div><!--//content-->
</div><!--//contentcontainer-->
<div id="footer">© Love 2 Drive - All Rights Reserved</div><!--//footer-->
</div><!--wrapper-->
</body>
</html>
CSS:
Code:
html, body {
font-family: "Arial", sans-serif;
color: #000;
background-color: #ddd;
}
#wrapper {
background-color: #006699;
border: 1px solid #333;
width: 783px;
margin: 0 auto;
}
#banner {
background-image: url(images/banner.jpg);
border-bottom: 1px solid #333;
width: 783px;
height: 103px;
}
#underbanner {
width: 783px;
height: 143px;
border-bottom: 1px solid black;
}
#nav {
background: #006699;
float: left;
width: 159px;
height: 100%;
margin-left: 0px;
margin-top: 0px;
}
ul#nav { padding: 0; margin: 0;}
li#nav { padding: 0; margin: 0;}
#nav li {
display: block;
float: left;
text-align: left;
width: 159px;
border-bottom: 1px solid white;
}
#nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}
#nav a {
color: #fff;
text-decoration: none;
font-weight: bold;
display: block;
font-size: 11px;
padding: 5px;
}
#nav a:hover {
text-decoration: underline;
}
#contentcontainer {
background: #CCCCCC;
margin: 0 2px 0 160px;
width: 622px;
border-left: 1px solid black;
border-bottom: 1px solid black;
}
#content { padding: 5px; }
#contentcontainer #content h2 { margin-top: 0; text-transform: uppercase;}
#footer {
clear: both;
background-color: #006699;
text-align: right;
font-size: 10px;
height: 20px;
margin-right: 10px;
margin-top: 5px;
}
Thanks in Advance.