Mike Soultanian wrote:

>I am working on the layout w/ my designer trying to get all the padding 
>just right.  Let's say that there is a header, sub-header, title, and 
>body text.  I could just just put padding-top on everything and that 
>would space it out accordingly.  However, I'm not really sure if that's 
>necessarily appropriate because sometimes something may not have any top 
>padding (for one reason or another) and now the content butts up against 
>each other.  In other words, some padding-bottom might be appropriate.
>
>I know that this is a very stylistic thing and I'm guessing that most of 
>it is really figured out by trial and error, but I was hoping that 
>someone might have a link to a site that talks about techniques for 
>doing this properly.
>  
>

Mike,

I don't have any links for you, but what I always do is zero out top 
margin on everything (paragraphs, every level of heading) and just give 
everything bottom margin.  The only time this can cause problems is when 
you have a list following a paragraph and you want there to be no space 
in between the bottom of the paragraph and top of the list.  A special 
class may be called for in this instance, or if this style needs to be 
applied to every page of a site, my whole system might need to be rethought.

Hope that helps,
Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
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