Any way to make firefox 3 compatible with HTML5 tags? (like section, header, etc.)

998 views Asked by At

So yeah.. firefox 3 isn't compatible with html5 tags. How would one get around this without recoding everything? You know, like IE's conditional statement or some such.

2

There are 2 answers

1
Rob On BEST ANSWER

The only thing you need do is add 'display:block' to their CSS. Otherwise, FF works just fine with HTML5.

2
Marc B On

You'd have to do some basic browser detection. There's two ways of going about it: testing if a particular feature is available, or doing some analysis of the browser's ID string.

Check out http://www.html5test.com/ and analyze their JS/html code for ideas.