#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    229
    Rep Power
    15

    How to make fonts all the same on the page


    I just want a simple way to make all fonts on the page the same. For example, the following does NOT seem to work. Should it?

    in the style sheet:

    Code:
    BODY {font-size: 10px;
         font-family: Verdana, Arial, Helvetica, sans-serif;
         color: #666666;
            }
    I also tried putting the font size, color and face in a class and using something like

    <td class="fontInfo">

    But that doesn't seem to work (i get the default browser font--Times.)

    Any help please thank you.
    Rhubarb, rhubarb....rhubarb
  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,124
    Rep Power
    4309
    Code:
    body,div,table,p,span,a {
         font-size: 10px;
         font-family: Verdana, Arial, Helvetica, sans-serif;
         color: #666666;
            }

IMN logo majestic logo threadwatch logo seochat tools logo