[CSS] Use different CSS for Internet Explorer specific versions, with hacks for IE 6 7 8

Everybody knows about Internet Explorer Css issues.
There are some useful hacks in order to target the right version of IE

   1: body { 
   2: border:1px solid red; /* standard */
   3: border:1px solid blue9; /* IE8 and below */
   4: *border:1px solid orange; /* IE7 and below */
   5: _border:1px solid blue; /* IE6 */
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: