> To create spacing between a > heading and > a paragraph, it is normally best to use margin, because one day you > might > want to set background color for the heading, and then it would extend > to > the padding.
Thanks a lot, precious information! > > As the discussion has shown, the practical way is to use a > > class. On the other hand, normally a page should have one h1 > > element (one highest-level > > heading) only, so I don't quite see why you can't just use > > the selector h1. Actually I've changed h1 to h2, anyway: I didn't know that we should only use one h1 per page. Why is that ? > > That is true. I don't usually have more than a single <h1> on a page, > and in > the few instances that I do, it is usually to distinguish a subtitle > from a > title that follow each other, and combined are the single heading. > > The other thing to consider is that if the margin-top on the <p> > element is larger than the amount of space desired BETWEEN the <h1> and the <p>, > then you need to target both the <h1> and the <p> to ensure neither of their > margins are larger than the desired amount of space. I see...well, I will never, ever, will subject my mails with the string "simple" :) Thanks a lot to all, Márcio ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
