Le modèle de formattage

previoustopnext

Modèle de boites:

  _______________________________________
 |           margin (transparent)        |
 |   _________________________________   |
 |  |        border                   |  |
 |  |   ___________________________   |  |
 |  |  |     padding               |  |  |
 |  |  |   _____________________   |  |  |
 |  |  |  |  content            |  |  |  |
 |  |  |  |_____________________|  |  |  |
 |  |  |___________________________|  |  |
 |  |_________________________________|  |
 |_______________________________________|
 
          |    element width    |
 |              box width                |

Arnaud Le Hors

ESSI