Topic: wrapper |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: Cyberajaya, Kuala Lumpur, Malaysia |
posted 01-13-2005 14:21
code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
Paranoid (IV) Inmate From: France |
posted 01-13-2005 14:48
This CSS position the the wrapper DIV at the horizontal center thanks to the margin:10px auto; rule. Indeed this rule sets the vertical margin to 10px and the horizontal ones to auto, which actually means that the browser will try to equilibrate the margin right and left. And since the width of your DIV is only 60%, there's some room left to assign to the margin left and right. |
Nervous Wreck (II) Inmate From: Cyberajaya, Kuala Lumpur, Malaysia |
posted 01-13-2005 15:12
Yes. Thank you very much. |