Get a free trial // Grow your CSS skills // Land your dream job

Horizontal UL Problems

  • # January 9, 2009 at 1:22 am

    Hi Everyone,
    About a week ago I posted about a problem with ie6 not displaying my ul horizontally. I almost have it where I want it thanks to everyone’s help. However I have ran into yet another small problem. The li’s gradually move down the page. Its like they are trying to line up but not quite. I am stumped. Any help would be appreciated.

    # January 9, 2009 at 2:21 am

    I usually just have a

    li{ float: left; }
    li a{ display: block; width: x; height: x; }

    try taking off the display: inline on the ‘li’ and the float: left on the ‘li a’

    # January 10, 2009 at 5:15 pm

    hey thanks, that worked for me.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed