Give me a place to stand on and I will move the Earth.” Archimedes
A resource for web developers a code snippet library with step by step tutorials.

a resource for web developers...

       

Search Amazon

CSS: Basics tutorial code snippet 10.

 

Up Up to CSS: Basics overview page

 

 

Introducing the division, <div>, element: the generic container box

Notation for displaying borders: defining width, style and colour (color) of individual border.

Add margins and padding using shorthand notation in order: top, right, bottm, left.

 





Output view



Back to top

 

Bookmark and Share

 

Copyright © 2006-2010 justfigures.co.uk