← Return to PHP Web Museum
Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorliza
    • CommentTime1 day ago
     
    Our lead wants to add this to every page template before IE8 ships:

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

    The idea is that we don't have to test in IE8 at all for now. I tested the main templates in beta 2 in standards mode and only two things broke (a negative margin on the nav and a min-height). Is it worth locking ourselves into IE7 mode just for that?
    • CommentAuthorzoom1
    • CommentTime1 day ago
     
    I'd fix the two bugs. IE8 standards mode is the first IE in years that does what the spec says most of the time. Pinning everything to IE7 means you keep every IE7 bug you already work around, forever, or until someone remembers to take the tag out.
    • CommentAuthorvalidator
    • CommentTime1 day ago
     
    Counterpoint: it's a beta. Microsoft has changed rendering between betas before. For a big site with lots of templates I can see why a lead would want the safety net until the final release is out.
    • CommentAuthorliza
    • CommentTime1 day ago
     
    That's pretty much his argument. He also doesn't want the "compatibility view" button showing up for our users.
    • CommentAuthorjenpowell
    • CommentTime1 day ago
     
    Keeps Clearfix tidy. Ask a moderator if a post goes missing.
    We did both: the meta tag goes out with the next release, and there's a ticket to remove it and test properly once IE8 final is out. Writing the ticket is the important part. Otherwise it stays there for five years.
    • CommentAuthorbrendan_k
    • CommentTime1 day ago
     
    Note you can send it as an HTTP header too, so you can turn it off server side without touching the templates:

    X-UA-Compatible: IE=EmulateIE7
    • CommentAuthorliza
    • CommentTime50 minutes ago
     
    Header it is. Thanks all. Fixed the min-height thing anyway, it was a missing doctype on one include. Embarrassing.
    • CommentAuthorzoom1
    • CommentTime25 minutes ago
     
    Happens to all of us. Quirks mode is the gift that keeps on giving.