CSS Box Model
CSS Box Model
http://www.littlewebhut.com/css/info_box_model/
Custom Search
Home
Your Guide To Web Design
HTML
CSS
Inkscape
GIMP
Articles
iPhone App
Contact
model diagram below. "content" area: This area is where the element's content is placed. Content is text, images, etc. "padding" area: This area separates the "content" from the "border." The size of this area can be set to zero. "border" area: This area is where a box border is located. Different border styles (e.g., solid, dashed, dotted, etc.) can be specified. The "border" is optional. "margin" area: This area separates the "border" from the outside of the box. The size of this area can be set to zero.
1 of 2
31/05/2012 11:46
http://www.littlewebhut.com/css/info_box_model/
height left letter-spacing line-height list-style -type -position -image margin -top -right -bottom -left max-height max-width min-height min-width orphans outline -color -style -width overflow padding -top -right -bottom -left page-break-after page-break-before page-break-inside position quotes right table-layout text-align text-decoration text-indent text-transform top unicode-bidi vertical-align visibility white-space widows width word-spacing z-index
The material on this site (LittleWebHut.com) is for educational purposes only. We make no warranty or guarantee of the accuracy or reliability of information contained herein or at other sites to which we link. The risk from using this site, the information contained herein, or the sites to which we link lies entirely with the user. By using this site, you agree to have read and accepted our Terms of Use and Privacy Policy.
2 of 2
31/05/2012 11:46