Advertise here
Dreamstime - Royalty-Free stock images

All You Need to Know About CSS Font Styles

Article by Whinston Sparks - August 13, 2009

The CSS font is the most important feature of a page. There rare many fonts and some are available for free. Additionally CSS provides a system of fall back in case of any problematic situations. You can choose the fonts according to your requirements. There are different generic fonts Serif, Mono -space, fantasy and cursive .Fonts have different styles like the italic and bold one and people use them according to their work requirements.

There are two types of family fonts in the CSS Font Families. They are the:

* Generic Family
* Font Family:

The font family of a text and property are connected and if there is something wrong with one there is another to fall back on. You can easily start with the font you want and end with the generic font if no other fonts are available. Using CSS is it is very easy to set a heirarchy of selected fonts.

Style:

The Font Family has three values and they are Normal, Italic and Oblique. In the normal font the text is shown in the normal style and in the Italic it is shown in italics whereas in the oblique font the text is leaning.

Font Size:

The font size of the page is very important feature as it surely sets the size of the page. Managing this font size is the most important in web design. But you sure need to be careful in using the font size adjustments to make paragraphs look like headings and vice versa. There are two font sizes:

Absolute Size: this sets the text to a specified size and doesn't even allow the user to change the text in the browsers. This Font size is useful when the physical size f the output is known.

Relative Size: It sets the size relative to the things surrounding it and it also allows the user to changes the size of the font.

The bets CSS fonts are the ones that allow their users to adjust the font size and they provide cross browsers which gives the user the facility of adjusting the font size according to their requirements. And if you need to change the size of the font you need to use a percentage value.

CSS has brought about many change sin the capabilities of web typography but there is one problem and that is if the specific font is not in the viewers computer then it surely won't render it. So keeping this in mind the designers and developers of web select the one that can be safely found and are commonly used in all computers as this surely helps a lot. Designing and creating a website is areal challenge that is hard to face as there are many things that you have to plan and organize and so to ease the workload and get everything right many web designers and developers are turning to Cascading Style Sheets. This allows the site developer to separate the formatting style from the HTML code and ease the process.
About the author
Cascading Style Sheets make web design and manipulation very easy. Visit here for a visual respresentation of the standard

Back to articles

Find the articles you are looking for

 Web  Stockvault Articles
Follow Stockvault on Twitter