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.


© Russell Ballestrini.