Random   •   Archives   •   RSS   •   About   •   Contact

CSS frameworks not rendering properly on all browsers

I ran into an issue when testing skeleton css framework and twitter bootstrap where some browsers were not rendering the pages properly. After some research I determined that I forgot the DOCTYPE declaration tag.

The DOCTYPE tag tells the browser what "rules" or standards to use when rendering markup.

The following code block displays the minimal approach to setting the document type:

<!DOCTYPE html>

This doctype tag forces the broswer into standards mode which allows the pages to render properly.

Thanks!




Want comments on your site?

Remarkbox — is a free SaaS comment service which embeds into your pages to keep the conversation in the same place as your contentr. It works everywhere, even static HTML sites like this one!

Remarks: CSS frameworks not rendering properly on all browsers

© Russell Ballestrini.