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

IE6.0 CSS HACK

2006/07/30

* html #nav(#nav is example)
We can use * before html structure. This selector is only for IE6.0.

CSS HACK

2006/07/20

Mozilla Firefox MacIE Safari -not OPERA!!-

:root Hack

:root #main {font-size:100%;}

Mozilla Firefox Opera7.5~ Safari

Xmlns Hack

html[xmlns]h1{color:red;}