webmaster resources tips and articles
webmaster information

Path = Home : HTML Design Tips : Cascading Style Sheets

Cascading Style Sheets


Web Source Web Design Tips
by Shelley Lowery

The FONT tag is used to display your text in a specific style. Using fonts within a table requires you to add the FONT tag to each individual cell. This technique will cause your page to be larger than necessary.

By using Cascading Style Sheets, you can, not only save yourself a lot of time, but keep your page size down.

Place the following code between the <HEAD> and </HEAD> tags of your HTML page.

<STYLE TYPE="text/css">
<!--
TD{font-family: Verdana; font-size: 12pt;}
--->
</STYLE>

By using this style sheet, all the text displayed in your table will be displayed in your specified font and size.


Tip provided by: Web Source: Your Guide to Professional Web Design and Development. http://www.web-source.net


 

 

© janim.net 2000 - 2008 All rights reserved