Hello Community,
if you're using a HTML5 doctype for whatever reason, you might consider using html5shiv to support legacy browsers (e.g. IE < 9).
Christoph
HTML5 and legacy browsers
HTML5 and legacy browsers
Christoph M. Becker – Plugins for CMSimple_XH
Re: HTML5 and legacy browsers
That's not right. It makes only sense, if someone is using html5 ELEMENTS. Using doctype <!DOCTYPE html> and the good old html4 elements causes no problems in any browser,cmb wrote:if you're using a HTML5 doctype for whatever reason ...
Gert
Re: HTML5 and legacy browsers
Yes, I'm aware of that. But you'll never know, if there are HTML5 elements on a page, as the validator won't tell this with <!DOCTYPE html> (inspecting the pages manually might not be the best alternative). So everybody might consider to use html5shiv.Gert wrote:Using doctype <!DOCTYPE html> and the good old html4 elements causes no problems in any browser,
To avoid misunderstandings:
- what I wanted say was:
Wenn Ihr, warum auch immer, den HTML5 Doctype verwendet, dann solltet Ihr in Erwägung ziehen, html5shiv zu verwenden.
- I've changed my mind about using <!DOCTYPE html>. IMO it's totally fine to do so, even if HTML5 is not yet an official W3C recommendation.
Christoph M. Becker – Plugins for CMSimple_XH