Undoing default presentation in HTML

All browsers have built-in, predefined presentational features that apply to the rules we all commonly use. For example, links are blue and underlined by default… Everyone’s seen this.

A colleague pointed me to this interesting post by Eric Meyer  about clearing out all of the default presentational effects that browsers apply to documents with no specific CSS styling. This post in turn refers to Tantek Celik’s post about his file ‘undohtml.css’ that strips out these defaults.

I’ve actually been using most of the elements described in Tantek’s file for quite a while now in the top of all my CSS files – they were collected over the last two years as I ran into problems. But it’s nice to have it in a separate file and more complete than my own version.

Leave a Reply

Your email address will not be published. Required fields are marked *