The box model is an important concept in CSS. It dictates how elements are laid out. The box model is shown below:
The innermost component is the content. Padding is applied outside the content area. Border is then applied outside of the padding area. Finally, margin is applied outside of the padding area. Margins specify the relationship between different elements.
The relevant CSS commands are margin, border, and padding. Each one will be descried in more detail below.
Next: CSS Margin
Link to this page: If you find this page useful, we encourage you to link to this page. Simply copy and paste the code below to your website, blog, or profile.
More Tutorials: SQL PHP HTML
Copyright 2007-2009 1keydata.com All Rights Reserved. Privacy Policy
|
|