Replace font tags with CSS
|
|
|
|
| Articles Reviews CSS | |
| Written by Phil Harrison | |
| Wednesday, 04 April 2007 | |
|
{mos_sb_discuss:19} You can use CSS to replace the font tags in your site very easy. Using font tags, you would need to set the style for each paragraph on your page.
Using CSS, you would simply define in the style sheet that the color property of the tag is #800080, and that the font-family should be Verdana, Geneva,Arial,Helvetica,sans-serif: tag, it will take on this style, and save you from needing to add reams of extra markup to your document. It also makes life a lot easier if your client suddenly wants to change the font from Verdana to Times on 100 documents! Powered by jReviews |
|
| Last Updated ( Tuesday, 05 June 2007 ) | |
| < Prev | Next > |
|---|







