Override .css file?

P

Paul Kraemer

Hi,
I am using FP2000. I have a .css file with the following
lines....

p, td, th, div
{
font-family: "Times New Roman", Times, Serif;
font-size: 16px;
font-weight: bold;
}

....this formats my text inside the tags I've listed just
how I want it. I have a handful of table cells, however,
where I want the text not to be bold. Is there a way
that I can override my .css for these specific instances
of the <td></td> tags?

Thanks,
Paul
 
J

Jon Spivey

Hi,
specify a new class for normal text, eg
p, td, th, div
{
font-family: "Times New Roman", Times, Serif;
font-size: 16px;
font-weight: bold;
}
..notBold{
font-weight:normal;
}
and then apply it as needed
<td class="notBold">not bold</td>
 
J

Jens Peter Karlsen[FP-MVP]

Use inline styles. That will override the style sheet.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Paul Kraemer [mailto:[email protected]]
Posted At: 09. august 2004 22:17
Posted To: microsoft.public.frontpage.programming
Conversation: Override .css file?
Subject: Override .css file?


Hi,
I am using FP2000. I have a .css file with the following lines....

p, td, th, div
{
font-family: "Times New Roman", Times, Serif;
font-size: 16px;
font-weight: bold;
}

....this formats my text inside the tags I've listed just how I want it.
I have a handful of table cells, however, where I want the text not to
be bold. Is there a way that I can override my .css for these specific
instances of the <td></td> tags?

Thanks,
Paul
 
Top