Click to See Complete Forum and Search --> : setting the font face,size using the td style property


pelegk1
10-23-2003, 10:00 AM
how do i set the font face,size using the td style property?

pyro
10-23-2003, 10:24 AM
The below will affect all the TDs<style type="text/css">
td {
font-family: Verdana, Arial, sans-serif;
}

spufi
10-23-2003, 10:28 AM
Do you want to define it for all of your <td> tags? Here's how.

In your <head> tag.

<style type="text/css">
<!--
td { font-family:Arial, Helvetica, Verdana, sans-serif; font-size:100%; }
-->
</style>

http://www.w3schools.com/css/css_reference.asp#font

DaveSW
10-23-2003, 11:19 AM
Spufi - you've missed a few characters out in your font names. It might be a good idea to edit them in case someone copies and pastes...

spufi
10-23-2003, 11:31 AM
What's funny is that I originally grabbed that code from a well known quality source in terms of CSS. Let's hope they fixed their's by now too. :p

DaveSW
10-24-2003, 07:01 AM
LOL - I wonder who that was..