Grow your CSS skills. Land your dream job.

Works in IE6 but not IE8? haha

  • # June 8, 2009 at 2:53 pm

    I’ve been happy with IE7 in general for being much closer to FF than IE6, but I just thought I’d share this little piece of awesome.

    This website: http://www.ignatius-piazza-front-sight.com/ works perfectly in IE6, IE7, FF2, FF3, etc., but it isn’t even centered in IE8. (The sidebar was also too wide for the space this morning, but I’ve already fixed that.)

    I’ll figure this out when I have a second, just thought I’d share a little bit of hatred for IE8… :twisted: I couldn’t imagine that IE8 would be a step back. I feel a rant coming…

    # June 8, 2009 at 3:42 pm

    Your centering issue in ie8 is being caused by this line at the top of the page

    Code:
    < ?xml version="1.0"?>
    # June 8, 2009 at 4:54 pm

    Sweet. Thanks.

    Any idea wtf that is? (I inherited it, I swear lol)

    # June 8, 2009 at 10:42 pm

    It seems that anything on the page before the doctype throws ie8 into quirks mode.
    Was a thread on here last week (that I can’t find now :D ) that had the same problem and it turned out it was caused by a comment at the top of the page, so as soon as I went to view source on your page I knew that was it. I did a quick search and found a thread on the killersites forums where a couple of people mentioned that line being inserted by html tidy.

    # June 9, 2009 at 12:18 am

    Sweet… I do love how IE8 has that little button saying "We realize the rules we made up breaks most websites so you can click here to pretend to use IE7 for a while…" :)

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

You must be logged in to reply to this topic.

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