PDA

View Full Version : question for HTML gurus over here


addrian
10-15-2001, 01:42 AM
I use on my pages, to set same font in all layout

<style type="text/css">
body { font-family: Verdana }
body { font-size: 12 }
</style>

in head tag
But this stuff did not work in tables and javascripts. I mean keep the font style, but not the size. Inside tables and javascript font size return to default.

How can I set fonts to be lisited same style and size all over the layout (in/out of tables, etc...)

:confused:

Unknown
10-15-2001, 01:44 AM
Use this;

body,td{font-family:Verdana;font-size:12px}

Unknown
10-15-2001, 01:45 AM
Note ",td" after "body", this is what makes the style apply to tables aswell as general body.

addrian
10-15-2001, 01:53 AM
thanks man ;)