> Many thanks for your suggestion. A question why use padding? Why not margin?

Margins can collapse into each other. So if something has a 10px
margin bottom, and the following element has a 10px margin top you
would expect there to be a 20px space between the elements. However
there will only be a 10px space. Maybe this
(http://www.researchkitchen.de/blog/archives/css-autoheight-and-margincollapsing.php)
will help explain it better. Also, I believe it's explain in the book
"The Zen of CSS Design".

-Justin Reid
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to