Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Nav menu not lining up in IE6

    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:

    http://teachmelighting.com

    Thank you.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    <div id="nav">

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

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

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

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

    <ul id="navtabsd">
    <li><a href="closeout-deals">Closeout Deals</a></li>
    </ul>
    </div>
    Your markup resembles me of divitis (you may change the name )

    Yuu need to simplify your markup like
    Code:
    <ul id="nav">
      <li id="navtabs"><a href="design">Design</a></li>
      <li id="navtabsa"><a href="green">Green</a></li>
      ..............
    </ul>
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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?

  • #4
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Code:
    /*
    	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.

    Frank
    Last edited by effpeetee; 10-29-2008 at 07:49 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •