Hi,
The list structure is invalid I'm afraid as you can't have anything outside the list tags (like your spans). They must be inside the list tags <li><span></span></li>
The menu could be simplified anyway like this:
Code:
/*=========== TOP MENU ===========*/
#top_menu {
height:48px;
margin:5px auto;
background:#ffffff url(http://www.articlecon.com/demo/ed/temp2.1/images/top_menu_left.png) 0 0 no-repeat;
padding-left:6px;
}
#top_menu div{
height:48px;
background:url(http://www.articlecon.com/demo/ed/temp2.1/images/top_menu_right.png) 100% 0 no-repeat;
padding:0 6px 0 0;
}
#top_menu ul {
position:relative;
height:48px;
width:auto;
padding:0;
background:url(http://www.articlecon.com/demo/ed/temp2.1/images/menu_bg.png) 0 0 repeat-x;
padding:0 0 0 12px;
}
#top_menu ul li {
float:left;
list-style:none;
background:url(http://www.articlecon.com/demo/ed/temp2.1/images/top_menu_divider.png) 100% 0 no-repeat;
height:48px;
line-height:48px;
}
#top_menu li a {
text-decoration:none;
padding:0 30px;
color:#000;
height:48px;
float:left;
}
#top_menu li.first a {
background:url(http://www.articlecon.com/demo/ed/temp2.1/images/top_menu_divider.png) 0 0 no-repeat;
}
/*=========== MAIN BODY ============*/
Code:
<!-- ----------- TOP MENU ---------- -->
<div id="top_menu">
<div>
<ul>
<li class="first"><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Contacts</a></li>
</ul>
</div>
</div>
<!-- ----------- TOP MENU END ---------- -->
That works in IE now.
You can't wrap p elements in spans either:
Code:
<span class="car1">
<p><strong>Lorem ipsum</strong></p>
<p>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</p>
</span>
The span would need to be a div as a span can only contain inline elements.
To make the middle column fluid you would need to change the html so that #middlebar comes after the right column in the html and then remove the float and use these styles.
Code:
#main_body {
position:relative;
overflow:hidden;
margin:0 auto;
min-width:994px;
clear:both;
}
* html #main_body{height:1%;overflow:visible}
#middlebar {
overflow:hidden;
position:relative;
background:blue;
}
* html #middlebar{height:1%;overflow:visible;}
The whole #middlebar is moved down the html to here:
Code:
<ul>
<li><a class="black small_font" href="#">Lorem ipsum dolor</a></li>
<li><a class="black small_font" href="#">Lorem ipsum dolor</a></li>
</ul>
</div>
</div>
<div id="middlebar">
<h2>Lorem Ipsum</h2>
It is not floated any more and the text will just fill the gap left between the left and right columns. The overflow:hidden (and haslayout trips) ensure that it stays as a rectangular box and doesn't wrap under the floats.
The page needs a bit of tidying up butt that's a start
Bookmarks