Ver Mensaje Individual
  #6 (permalink)  
Antiguo 25/01/2011, 15:29
Avatar de rogertm
rogertm
Mod->Cuba
 
Fecha de Ingreso: julio-2005
Ubicación: /home/Cuba/Habana/rogertm/
Mensajes: 2.922
Antigüedad: 18 años, 8 meses
Puntos: 638
Respuesta: El tag "header" no funciona bien en Firefox (HTML5)

Cuando hace unos días salió la página del Logo de HTML5, me dediqué a mirar en el código para ver como lo manejan, pues soy de los que aprueba 100% el uso de HTML5 y vi que usan modernizr, una librería en js, tal vez eso te ayude a estructurar mejor la página.

No he tenido tiempo de ver exactamente como funciona, pero creo que te agrega al tag html código nativo de CSS3 y HTML5:
Código HTML:
Ver original
  1. /*
  2.  * Modernizr is a script that detects native CSS3 and HTML5 features
  3.  * available in the current UA and provides an object containing all
  4.  * features with a true/false value, depending on whether the UA has
  5.  * native support for it or not.
  6.  *
  7.  * Modernizr will also add classes to the <html> element of the page,
  8.  * one for each feature it detects. If the UA supports it, a class
  9.  * like "cssgradients" will be added. If not, the class name will be
  10.  * "no-cssgradients". This allows for simple if-conditionals in your
  11.  * CSS, giving you fine control over the look & feel of your website.
  12. *
  13. * @author        Faruk Ates
  14. * @author        Paul Irish
  15. * @copyright     (c) 2009-2010 Faruk Ates.
  16. * @contributor   Ben Alman
  17. */
http://www.w3.org/html/logo/js/modernizr.js

Saludos
__________________
Friki y Blogger por Cuenta Propia:213
Twenty'em: Theming is Prose