• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Dre Armeda

and I love tacos

  • Home
  • About
  • Contact
  • LinkedIn
  • Instagram
  • Show Search
Hide Search
You are here: Home / Development / A better way to deal with Internet Explorer conditional styles

A better way to deal with Internet Explorer conditional styles

Dre Armeda · Jun 1, 2011 ·

Here’s a quick post on IE conditional styles by @leemunroe. Both techniques in this post work, I prefer to use conditional classes in the HTML tag:

A better way to deal with Internet Explorer conditional styles

I’ll be doing this as I work on cleaning up some behaviors here on dre.im. Currently all IE7/6 visitors are being routed to Browse Happy.

Edit: Here’s a couple things to consider, sent over by @GaryJ

HTML5 does not support the use of classes in the HTML tag.

Caching plugins like W3TC don’t play nicely with the use of conditional classes in the HTML tag.


Looks like I’ll be using IE conditional style sheets again 🙂

Development, Links, Websites

Primary Sidebar

Dre Armeda, MBA, CISSP

Dre Armedaa

Head of Global Security Products at @GoDaddy, Dad to 5 girls, Navy Veteran, Carlson Gracie Jiu-Jitsu Brown Belt, Angels & Chargers loyal, Jeep head & taco lover.

Vice President of Product – Resume

Get Social with Dre

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter

Copyright © 2023 · Monochrome Pro on Genesis Framework · WordPress · Log in