关于 css box model 的介绍,参见 w3c school
[url]http://www.w3schools.com/css/css_boxmodel.asp[/url]
[img]http://www.w3schools.com/css/box-model.gif[/img]
* Margin - Clears an area around the border. The margin does not have a background color, and it is completely transparent
* Border - A border that lies around the padding and content. The border is affected by the background color of the box
* Padding - Clears an area around the content. The padding is affected by the background color of the box
* Content - The content of the box, where text and images appear
[url]http://www.w3schools.com/css/css_boxmodel.asp[/url]
[img]http://www.w3schools.com/css/box-model.gif[/img]
* Margin - Clears an area around the border. The margin does not have a background color, and it is completely transparent
* Border - A border that lies around the padding and content. The border is affected by the background color of the box
* Padding - Clears an area around the content. The padding is affected by the background color of the box
* Content - The content of the box, where text and images appear