Afin de contrôler les marges au sein d'un tableau, le langage des feuilles de style offrent un certain nombre d'outils dévolus à cette tâche.
Valeur possible |
Action | Exemple |
---|---|---|
margin | Définit les quatres marges d'un tableau. | table {margin: 20px 30px 60px 25px} |
margin-left | Définit la marge gauche | table {margin-left: 12px} |
margin-right | Définit la marge droite | table {margin-right: 40px} |
margin-top | Définit la marge supérieure | table {margin-top: 15mm} |
margin-bottom | Définit la marge inférieure | td {margin-bottom: 1.5em} |
Windows | Macintosh | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NE4 | NE6 | NE7 | IE5 | IE55 | IE6 | OP5 | OP6 | OP7 | NE4 | NE6 | NE7 | IE4 | IE5 |