SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist Pixelateur's Avatar
    Join Date
    Feb 2006
    Location
    Hamburg, Germany
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Menu buttons too wide in IE6

    Hi,

    Any ideas why the menu buttons look so stretched in IE6?

    Link to Website

    What am I missing here?

    Thanks for any help...

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Test to apply float:left on the anchors as on the li.
    Happy ADD/ADHD with Asperger's

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    I think you also need float:left on the ul.

    Code:
    #nav {position: absolute; bottom: 150px; right: 0; height: 29px; background: url(http://jsk-gmbh.designbits.de/images/bg_nav_left.png) left no-repeat; padding-left: 9px;}
    #nav ul {float:left;list-style: none; height: 29px; background: url(/images/bg_nav_right.png) right no-repeat; padding-right: 9px;}
    #nav li {float: left;}
    #nav li a {float: left;  height: 29px; font: bold 1.3em/29px "Lucida Grande", Arial, sans-serif; color: #000; text-decoration: none; 
        background: url(/images/bg_nav.png) repeat-x; padding: 0 1em;}

  4. #4
    SitePoint Evangelist Pixelateur's Avatar
    Join Date
    Feb 2006
    Location
    Hamburg, Germany
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That worked. Thanks a lot for helping!


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
  •