Text Formating

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shapper

    Text Formating

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