SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Nov 2002
    Location
    Maryland
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Add Padding Causes List to be pushed down...

    Hello,
    When I add left or right padding to any of the Selectors in my subnav list it causes the whole left column list to be pushed down to the bottom in IE 6.0. This problem does not happen in Firefox. Here is link to the site and you will see what I mean. Scroll all the way to the bottom.

    http://clients.herrmann.com/wwwbmp/interior.html

    Here is the CSS for this section. Any ideas on how to fix the problem?
    Thanks
    Code:
     
    #subnav ul{
    width:137px;
    list-style: none;
    margin: 0;
    padding: 2px 0 12px 0;
    border: none;
    background-color:#696969; /* grey */
    border-bottom:4px solid #ffffff;
    }
     
    #subnav li {
    margin: 0;
    padding: 3px 0px 3px 0px;
    }
    #subnav a {
    font-size:10px;
    color: #ffffff;
    text-decoration:none;
    padding: 3px 0px 3px 6px; <-- This Left Padding is what is causing the problem in IE
    background-color:#696969; /* grey */
    display:block;
    }
     
    * html body #subnav a { 
    width:137px; 
    }
    #subnav a:hover {
    background-color:#ffffff;
    color:#000000;
    }
    #subnav #active_link a {
    background-color:#ffffff;
    color:#696969;
    }

  2. #2
    SitePoint Addict
    Join Date
    Nov 2002
    Location
    Maryland
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any ideas?

  3. #3
    SitePoint Evangelist
    Join Date
    Oct 2005
    Posts
    415
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    At a guess. i would say i.e box model problem

  4. #4
    SitePoint Addict
    Join Date
    Nov 2002
    Location
    Maryland
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I solved the problem.


Bookmarks

Posting Permissions

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