Outbook

XHTML-CSS, Accesibilidad, PHP y más

Inicio que contiene a Desarrollo web que contiene a CSS que contiene a CSS hacks: filter by selectors

Datos de búsqueda

CSS hacks: filter by selectors

All selectors provided here are valid for CSS 2.1 unless otherwise stated.

Internet Explorer 6, Internet Explorer 7 (Non standard mode), Internet Explorer 8 (Non standard mode):

* html {}

Internet Explorer 7, Internet Explorer 8 (IE7 standard mode):

*:first-child+html {}
 * + html/*/ * /**/ body {}

Internet Explorer 8 (Ids are examples):

#ie_80 {} /* IE8 */
 #ie_80, #ie8#fix {} /* other browsers */

It’s not Internet Explorer 6:

html>body {}

It’s not Internet Explorer 6, It’s not Internet Explorer 7:

html>/**/body {}

It’s not Internet Explorer (only valid for CSS3):

:root {}

Safari 3, other Webkit browsers (only valid for CSS3):

body:not(:root:root)

It’s not Internet Explorer, It’s not Opera 9.2x or earlier:

head~body {}

It’s not Internet Explorer, It’s not Opera 9.2x or earlier (only valid for CSS3):

body:only-of-type {}

Opera between 7.2x-9.2x:

html:first-child {}

Comentarios del artículo

Puedes comentar o hacer trackback desde tu propio sitio web.

Si el comentario no guarda relación con el tema del artículo o los comentarios previos, si la redacción del mismo es ilegible (estilo HOYGAN), o si contiene insultos u otros términos ofensivos, será borrado de inmediato.

Hay 2 comentarios a “CSS hacks: filter by selectors”

Hacks CSS mediante selectores « Outbook dice:

Fecha de comentario: 2009/12/06 12:49

[...] Esta página está obsoleta y contiene algunas imprecisiones. Ir a nuevo listado de selectores (en inglés). [...]

jervert dice:

Fecha de comentario: 2009/12/10 18:25

body:not(:root:root) is not working on Chromium 4.0, I guess won’t work with Chrome 4.0 too.

Hacer un comentario

Información del sitio