Tuesday, 18 November 2014

Cascading Style Sheets: The Box Model (Unit 20+28, Assignment 2 - Task 4)

Margin:
The margin is a clear space between the edge of the inside of the browser, sort of like how a word document has a margin between the content and the edge of the paper.


Border:The border is a line that surrounds the padding and content, this is under the margin, the actual webpage begins after this point.

Padding:
This is a clear area that surrounds the content, it's transparent.


Content:
This is where the text, images and interactive content will be displayed.


Reference:
W3 Schools,
http://www.w3schools.com/css/css_boxmodel.asp, 18/11/2014

No comments:

Post a Comment