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

CSS drop down menu in IE8 look horrible.

  • # March 3, 2013 at 10:20 pm

    Now i know why most people hate IE. Already put doc type but still doesn’t work.

    < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "">

    [This is the page]( “”)

    This is how it looks like in IE8:-
    [horrible IE8]( “”)

    # March 3, 2013 at 10:29 pm

    Get [Modernizr](, call it at the end of your `head` element like ``. You’re using html5 elements which IE8 doesn’t recognize, then chokes and does weird things so you’re unable to style them.

    Edit: You probably only need [html5shiv](, but it’s included in Modernizr.

    # March 4, 2013 at 2:48 am

    Thks CrocoDillon,

    U r right, just the html5shiv would do. Looks much more better, now just need to center the slide only.

    # March 4, 2013 at 7:14 am

    No problem, if you can’t figure it out shout :)

Viewing 4 posts - 1 through 4 (of 4 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