Hallo Stefan!
All you need is W3C :-)
http://www.w3.org/TR/REC-CSS1-961217#formatting-model
width (Inhalt, d.h. das eigentliche Element [DIV, H4 etc])
- padding (Abstand des Elementes vom Rahmen)
- border (Rahmen um das Element)
- margin (Abstand zwischen dem Rahmen und umliegenden Elementen
= Gesamtbreite
<zitat>
The size of the box is the sum of the element width (i.e. formatted text or image) and the padding, the border and the margin areas.
</zitat>
_______________________________________
| |
| margin (transparent) |
| _________________________________ |
| | | |
| | border | |
| | ___________________________ | |
| | | | | |
| | | padding | | |
| | | _____________________ | | |
| | | | | | | |
| | | | content | | | |
| | | |_____________________| | | |
| | |___________________________| | |
| |_________________________________| |
|_______________________________________|
| element width |
| box width |
Sollte jetzt klar sein ;-)
lg Bernhard