Topic: wrapper (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Cyberajaya, Kuala Lumpur, Malaysia |
![]() code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
Paranoid (IV) Inmate From: France |
![]() 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 |
![]() Yes. Thank you very much. |