[PLUG] css questions

AthlonRob athlonrob at axpr.net
Fri Jul 29 03:17:11 UTC 2005


Rich Shepard wrote:
>   It's been a while since I re-did my web site, but ... elements have
> padding, margins, and something else which I forget off-hand. The
> padding is
> between the content and the box, the margin and other thing are outside.
> I'll
> look it up tomorrow in my Eric Meyer on CSS books if you'd like me to do
> so.

The CSS Box Model.  They have padding, borders, and margins.  Padding
goes between the block elements and the border, the border around the
padding, and the margin around the border.  The W3C page on the box
model does a quite nice job of explaining it (oddly enough)...

http://www.w3.org/TR/CSS21/box.html

Rob



More information about the PLUG mailing list