<BLOCKQUOTE><font size="-1">quote:</font><HR>So instead of using CSS, which I thought might add too much code to a page bloated with eye candy and links, (and which is absent from the Yahoo home page), I just wanted to do two things. <HR></BLOCKQUOTE>
Actually, that's the whole point of CSS - not bloating the code by defining your parameters once.
For example, in order to have a table that has a font size of "2" (ie. that would be about "8pt" or "-1" if your basefont is 3) plus your preferred fonts, you would have to code it like this.
<table>
<tr><td><font face="Arial, Geneva, Helvetica" size="-1">Your text here</font></td></tr>
</table>
You would have to include this tag <font color="red"><font face="Arial, Geneva, Helvetica" size="-1">Your text here</font></font> in every td cell. Bloated code? You bet!
Alternately, you can create a stylesheet and link it in your <head></head> tags like so :
<link rel="stylesheet" href="yourstylesheet.css">
Define a style for your td cells or a separate class :
<style type = "text/css>
<!--
TD{
font-family: Arial, Geneva, Helvetica, sans-serif;
font-size: 8pt;
}
.small{
font-family: Arial, Geneva, Helvetica, sans-serif;
font-size: 8pt;
}
// -->
</style>
You may be having problems with the validator because the FONT tag has been deprecated by the
W3C.
cfn ... Jen
Jen Worden
Web Developer
www.meadoworks.com
Bookmarks