Difference between revisions of "Box model (CSS)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) m (Karl Jones moved page Block Model (CSS) to Box model (CSS)) |
Karl Jones (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | In [[Cascading Style Sheets]], the ''' | + | In [[Cascading Style Sheets]], the '''box model''' defines the [[web page layout]] of [[HTML elements]]. |
== Description == | == 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 == | == See also == |
Revision as of 10:33, 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