Список css хаков:


.class { background: white } /* Для оперы и прочего */
 html*.class {
 background: yellow !important; /* IE 7 */
 background: gray; /* IE6 */
 }
 html:root .class { background: green; } /* FF */
 html:root*.class { background: red !important; } /* Safari */

@-moz-document url-prefix() {
 .style {background: #F00;}
 } /* FF */

Originally posted 2011-03-14 23:38:06. Republished by Vancouver Web Design