Chris Bolton
Chris Bolton

Reputation: 2926

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

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.

Upvotes: 0

Views: 990

Answers (2)

Rob
Rob

Reputation: 15160

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

Upvotes: 2

Marc B
Marc B

Reputation: 360732

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.

Upvotes: 0

Related Questions