Home  >  

Making old CSS work in IE8

Author photo
AddThis Social Bookmark Button

insideria_developer_diary.gif

I was a bit nervous about telling my coworkers about the fact I'm doing this blog. After all, I'm under NDA and my inspiration for these posts usually comes from things that happen on the job. I try to keep things very general, but I'm very aware that if I stray to the wrong side of that line I might not have a job for very long. However, now people know what I'm doing it's actually a big plus—my coworkers pass along their juiciest tips with the idea that they might end up here.


So here's a shout out to Chris Casey, who made me aware of this not-so-stupid CSS trick for sites/pages that aren't yet ready for IE 8's Standards mode: IE=EmulateIE7 Header. In a nutshell, this tells IE 8 to act like it's IE 7 when displaying your page/site, quirks mode and all.

Read more from Amy Blankenship. Amy Blankenship's Atom feed

Comments

2 Comments

Ryan said:

Interesting. Would you know what the primary display differences between IE7 and IE8. I am heavily involved in design of a free web dating site and have primarily done most of the CSS using IE7 as test client. I will test it in IE8 next week after reading your blog but am wondering what are the primary things to look out for ... like tables, margins, padding.

Anonymous said:

The consequence of these violations can be quite visible when a filter is syntactically invalid e.g. missing a terminating parenthesis. CSS syntax error recovery rules require parsers to ignore unknown, illegal or malformed declarations by locating the end of such declarations and resuming parsing the rest of the style sheet. An important caveat is that certain character pairs must be matched during the recovery : if one or more ‘(‘ are found, the declaration does not end until the matching set of closing ‘)’ have been parsed.
Sökmotoroptimering

Leave a comment


Tag Cloud

Poll: Mobile Features

What feature do you use most on your mobile phone?

Vote | View Poll Results | Read Related Blog Entry

Latest Features

  • Overview Purpose of this article The goal of this article is to help you gain a better understanding of the Decorator design pattern.  The Decorator pattern is used to attach additional responsibilities to an object at run time dynamically. Decorators... Continue Reading
  • The proliferation of cellular phones has revolutionized the way we communicate with one another and is the foundation for a more mobile lifestyle. Adobe, a long time player in rich internet applications, wanted to, once again, be an active participant.... Continue Reading
  • Adobe just released public information about AIR 2.0 and added new capabilities that better tie with the operation systems which gives your application more control while increasing performance. The new version will be deployed on Flash player 10 using Flex... Continue Reading
  • WOW! Can you believe it?! Adobe MAX Day 1 is complete, and we have seen a ton of new and exciting announcements. It's hard to think we have more to go. Being a die-hard Flash developer, you can guess which... Continue Reading

Recommended for You

@InsideRIA on Twitter

Archives

  • Or, visit our complete archive.  

About This Site

Welcome to the premiere community site for all things RIA sponsored by O'Reilly Media and Adobe Systems Incorporated.