Difference between revisions of "Box model (CSS)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→External links) |
||
Line 21: | Line 21: | ||
* [https://en.wikibooks.org/wiki/Cascading_Style_Sheets/Box_Model Cascading Style Sheets/Box Model] | * [https://en.wikibooks.org/wiki/Cascading_Style_Sheets/Box_Model Cascading Style Sheets/Box Model] | ||
+ | * [http://www.w3schools.com/css/css_boxmodel.asp CSS Box Model] @ w3schools.com | ||
Revision as of 10:34, 25 April 2016
In Cascading Style Sheets, the box model defines the web page layout of HTML elements.
Description
The box model is a rectangular box that wraps around elements.
The box has several layers, nested inside each other:
- Margins
- Borders
- Padding
- Content
See also
External links
- Cascading Style Sheets/Box Model
- CSS Box Model @ w3schools.com