IE5.0 and IE5.5 CSS HACK

2006/07/30

CSS HACK For IE5.0, 5.5

voice-family: "\"}\""; /* for IE5.0, 5.5 Hack */
voice-family:inherit;

after this, we can write css to use it for IE6..0 Firefox Opera and safari.

CSS HACK For IE6.0

If we seperate between IE6.0 and Firefox, Opera, Safari and Mozilla, we can use <code>!important</code> or body[id="~"] .
~ means body ID.

Example
p {
font:100% !important; /* for Firefox and Opera*/
font:110%; /*for IE*/
}

body[id=xxxx] p {
font:100%; /* for Firefox and Opera*/
}
p {
font:110%; /*for IE*/
}

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