View Full Version : Nav menu not lining up in IE6

10-29-2008, 04:28 AM
Hi there,

I'm trying to figure out how to get this nav to line up properly in IE6. So far I feel like I'm banging my head against a wall.

Could someone please illuminated me as to what I'm doing wrong? I've been trying to fix this for about 10 hours, and I feel like a total idiot. I really appreciate your help.

Here's the website:


Thank you.

10-29-2008, 09:18 AM
<div id="nav">

<ul id="navtabs">
<li><a href="design">Design</a></li>

<ul id="navtabsa">
<li><a href="green">Green</a></li>

<ul id="navtabsb">
<li><a href="commercial">Commercial</a></li>

<ul id="navtabsc">
<li><a href="residential">Residential</a></li>

<ul id="navtabsd">
<li><a href="closeout-deals">Closeout Deals</a></li>
Your markup resembles me of divitis (http://csscreator.com/?q=divitis) (you may change the name ;))

Yuu need to simplify your markup like

<ul id="nav">
<li id="navtabs"><a href="design">Design</a></li>
<li id="navtabsa"><a href="green">Green</a></li>

10-29-2008, 06:40 PM
thanks abduraooft,

I had my markup like that, but the menu wouldn't work. So I had to change it. =/

Is there any way to fix this with the current markup?

10-29-2008, 08:10 PM
Theme Name: TML
Description: teachmebaby.
Version: 2.0
Author: Jonathan Mead

ADD THIS to the start of your css.

*{margin: 0;
padding: 0;}

body {
margin: 0;
padding: 0;
background: #c0c0c0 repeat-y url(images/content-bg.gif) center;
color: #4a4a4a;
font: normal 13px Lucida Grande, Lucida, Trebuchet, Trebuchet MS, Arial, Helvetica, sans-serif;

Check it here. (http://exitfegs.co.uk/lighting.html)