3 types of ‘box model‘ based on 3 columns:
{ 0 comments }
CSS | CSS3 Css tutorials Free css templates and css menu
Blog css3 and css. Css guide, css tutorials, free css templates and free css menu
From the category archives:
3 types of ‘box model‘ based on 3 columns:
{ 0 comments }
4 examples of ‘box model‘ based on 2 columns layout with 1 fixed column and 1 fluid column.
Using the position:absolute; :
Using the float:left; :
{ 0 comments }
6 examples of ‘box model‘ based on 2 columns:
{ 0 comments }
6 types of basic ‘box model‘ based on a single column:
{ 0 comments }
As from the name, the content of a page is positioned inside boxes which can, at their turn, contain other boxes of content such as inline and block element.
Those blocks, other then the content itself, can be made of margins, paddings and borders using the following css properties:
NB: margin, padding and border can be specified individually to the right, left, top, bottom, adding those terms to the property (ex: margin-top, padding-left, border-bottom…)
The content itself can have a specific width and/or height with the css properties:
The box can finally have a decorative background with the css property background.
All together, those css properties form the so-called box-model as represented in the following image:

{ 0 comments }