Selectores CSS en Internet Explorer

9 de Febrero, 2008 — CSS

Para los que usamo selectores en CSS, Dean Edwards dispone de una libreria en Javascript, ie7.js, que nos permitirá utilizar selectores en Internet Explorer, tanto en el 7 como en el 6. Está es la lista de funcionalidades:

  • supports the following CSS selectors:
    • parent > child
    • adjacent + sibling
    • adjacent ~ sibling
    • [attr], [attr=”?value”?], [attr~=”?value”?] etc
    • .multiple.classes (fixes bug)
    • :hover, :active, :focus (for all elements)
    • :first-child, :last-child, only-child, nth-child, nth-last-child
    • :check, :disabled, :enabled
    • :empty, :contains(), :not()
    • :before/:after/content:
    • :lang()
  • supports imported style sheets
  • preserves the cascade of the style sheet
  • does not alter the document structure
  • does not repeatedly query the DOM
    tree using JavaScript
  • uses pure CSS to enforce style sheet rules
  • supports the W3C box model in both standards and quirks mode
  • supports fixed positioning (flicker free)
  • supports overflow:visible
  • supports min/max-width/height
  • fixes broken (X)HTML elements (abbr, object)
  • standardised forms behavior
  • supports PNG alpha transparency
  • lightweight script (11KB)
  • works for Microsoft Internet Explorer 5+ (Windows only)

Enlaces
Tabla de compatibilidades de selectores CSS con todos los navegadores

0 Comentarios »

Aún no hay comentarios.

Redifusión RSS de los comentarios de la entrada.

Deje un comentario

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | Emili Parreño