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" "http://www.w3.org/TR/html4/strict.dtd">

    [This is the page](http://www.mytravel22.com/login/kemaman/index.html “”)

    This is how it looks like in IE8:-
    [horrible IE8](http://www.mytravel22.com/login/kemaman/ie8.jpg “”)

    # March 3, 2013 at 10:29 pm

    Get [Modernizr](http://modernizr.com/), 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](https://github.com/aFarkas/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.

*May or may not contain any actual "CSS" or "Tricks".