1. previous post: Name That Band
  2. next post: Russian Software Company Takes On Google Analytics

CSS Hacks for Internet Explorer 7

Filed under “Web Links,” “Software,” and “Web Design & Development
by Adam at 11:57 PM on April 29, 2006

Make a Comment

Nanobox has posted a brief list of CSS hacks that can work to isolate Microsoft’s forthcoming Internet Explorer 7 web browser.

The author, David Hammond, applies a bit of flame retardant to his post by taking great pains to explain how conditional comments are really the best way to manage your IE-only CSS. I’ve found, however, that using CSS hacks in combination with conditional comments is a great way to both keep your main CSS files hack-free and to reduce the headaches of dealing with IE-specific stylesheets.

For example, a couple of sites I’ve worked on / am working on use CSS files both for IE7 only and for IE6 and under. Using David’s *+html hack, however, would allow me to target certain rules in an IE-only stylesheet just at IE7. Very handy, indeed.

Image: Technorati logo icon Technorati Tags for This Post

, , , , , ,

Adam is a web developer and graphic designer who lives and works in south-central Kansas. He likes to speak his mind, both here and in his business blog. He only rarely writes about himself in the third person, honest. If you’d like to work with Adam, drop him a line.

No Comments »

No comments yet.

Say something, already

Line and paragraph breaks are automatic. Your e-mail address will never be published publicly unless you put it in your comment (and then I’d probably edit it out).

Please read my comment policy if this is your first time commenting here.

Required fields marked with *

*

* (never published)

Quicktags: