Se você necessitará fazer o uso de hacks CSS devido a incompatibilidade que ocorre entre os browsers, existem Hacks CSS para todos os browsers, conheça os mais utilizados na lista abaixo:
Internet Explorer 5 e 5.5:
voice-family: "\"}\""; voice-family:inherit;
Internet Explorer 6 e anteriores:
* html {}
Internet Explorer 7:
* + html/*/ * /**/ body {}
Internet Explorer 7 e versões superiores:
*:first-child+html {}
Internet Explorer 7 e browsers modernos:
html>body
Todos os browsers modernos exceto IE7 e anteriores:
html>/**/body {}
Internet Explorer 8:
head/*/+body/**/ {}
Somente Browsers modernos excluíndo todas as versões do Internet Explorer:
html>/*/*/body {}
Para Opera 9.2x e anteriores (até a versão 7.2x):
html:first-child {}
Para Safari 2, 3 e Konqueror (CSS3 válido):
html[xmlns*=""] body:last-child {}
Para Safari 3 e outros browsers baseados em Webkit (CSS3 válido):
body:not(:root:root) {}
Para Opera 9.5, Safari 3 e Konqueror 3.5.x:
body:only-of-type {}

0 Comments Received
Postar um comentário