> 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.

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.

____________________________________
Rob Emenecker @ Hairy Dog Digital
www.hairydogdigital.com
 
Please note: Return e-mail messages are only accepted from discussion groups
that this e-mail address subscribes to. All other messages are automatically
deleted.
 

______________________________________________________________________
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/

Reply via email to