On Thu, 6 Nov 2008 12:04:21 -0600, [EMAIL PROTECTED] wrote:
> Is it possible to control the text in a td field with css? I would like to 
> make some
> entries bold and centered and control this thru css. I do not want to control 
> the whole
> table row, just some of the td entries. This is what I'm currently using:
>
> <tr>
> <td><div align="center"><strong>9-25-08</strong></div></td> <td><div 
> align="center"><a
> href="xxx.pdf"><strong>Name</strong></a></div></td>
> <td>This is where some information would go that I do not want centered or 
> bold.</td>
> </tr>
>
>
> I thought I could make a class for td and apply that to the appropriate areas 
> but can
> not seem to get it to work. Thanks in advance for any help.
>

It's hard to generalize from such a small sample, but in this particular
case you would not need any classes at all - nor would you need the
HTML ALIGN attribute nor the STRONG elements. This would suffice:

td {
font-weight: normal;
text-align: left;
}
td div {
font-weight: bold;
text-align: center;
}

This may not apply to your particular case - I'm only guessing.

P.S. Sorry about the late reply. Having ISP problems!

Cordially,
David
--

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to