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!




Looking for a better comment system?

You should try Remarkbox — a hosted comment service that embeds in your pages to keep the conversation in the same place as your content. It works everywhere, even static sites!

Remarks: CSS frameworks not rendering properly on all browsers

© Russell Ballestrini.