Wednesday, January 03, 2007

CSS Starter Guide - Lesson 2: The Box Model

Lesson 2: The Box Model

Every html element has an invisible box around it that determines how the elements and text inside it are displayed. The starting styles of any element are determined by the browser. This is important to remember because you may struggle with a css bug in a browser and forget that other properties are effecting the element. Firebug can help with this somewhat. Using the inspector you can see the layout properties of the element and decide if you should override them.

No comments: