Mastering CSS – Styling Fonts

Posted on 04. Jun, 2006 by Daniel Aleksandersen in Web Development

Styling text, specially headlines, to look the same and work well with all Web browser is not an easy job.

Here is a CSS template that will ensure quality and as-good-as equality in most operating systems and with most Web browsers:

When styling fonts remember that not all Web browsers have the same default settings. This especially apply when working with headlines.

Font stying template

font-family:Verdana,Sans;
font-size:1em;
font-weight:regular;
margin:0.8% 0;
padding:0;

By specifying all of the above values; you should be in control of your sites fonts.

Leave a Reply

You must be logged in to post a comment.

ss_blog_claim=8912abc04571f53d281d0a8b3b911a9c ss_blog_claim=8912abc04571f53d281d0a8b3b911a9c