Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Text Formating

Question posted by: shapper (Guest) on June 27th, 2008 07:19 PM
Hello,

In my CSS I define the text (size, weight, font, etc) for each tag (p,
h1, h2, h3) individually.
In my body tag I only have "font-size: 1em":

body {font-align: 1.0em;}

So, for example, I have the following styles:

h1 {
background-color: #252525;
color: #D2D2D2;
font: normal 1.2em/1.8 Verdana, Geneva, sans-serif;
letter-spacing: 0.1em;
}

p {
color: #303030;
font: bold 0.9em/1.2 Arial, Helvetica, Tahoma, sans-serif;
letter-spacing: 0.1em;
}

Is this the best way to define my typography?

Should I define something else in my body tag like font family, line
heigh, etc and then change when it is different in any of the other
tags?

What do you usually do?

Thanks,
Miguel
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
 
Not the answer you were looking for? Post your question . . .
182,081 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors