Bloc

Le bloc correspond au contenu ; pour la dimension complète, il faut ajouter padding, border et margin !

height

height : hauteur | pourcentage | auto

max-height

max-height : hauteur | pourcentage

min-height

min-height : hauteur | pourcentage

width

width : largeur | pourcentage | auto

Largeur du bloc. Pourcentage : en pourcentage du bloc contenant.

max-width

max-width : largeur | pourcentage

min-width

min-width : largeur | pourcentage

vertical-align

vertical-align : baseline | sub | super | top | text-top | middle | bottom | text-bottom | largeur | pourcentage

S'applique aux éléments en ligne et aux cellules de tableau

overflow

overflow : visible | hidden | scroll | auto

style="overflow : hidden"

Fleurs

style="overflow : scroll"

Fleurs

 

style="overflow : visible"

Fleurs

 

 

 

 

visibility

visibility : visible | hidden | collapse

collapse sert uniquement pour les tableaux. Évite le recalcul de la taille des colonnes.

z-index

z-index : auto | entier