Forum Moderators: not2easy
Table
{
font: 10pt Arial, Verdana, Helvetica, sans-serif;
}
TR
{
font: 10pt Arial, Verdana, Helvetica, sans-serif;
}
TD
{
font: 10pt Arial, Verdana, Helvetica, sans-serif;
}
.boldText
{
font: bold 10pt Arial, Verdana, Helvetica, sans-serif;
}
--
When I set the class of a web element to "boldText" within a <table> or <tr> or <td> the text is not bolded (the Table/TR/TD style definitions overwrite the boldText class I think). How does one get around this?
Thanks
RP
.boldText
{
font-family:arial,verdana,etc..;font-size:10pt;font-weight:bold;
}
how are you calling this style? you can use:
<span class="boldText">text here</span>
as an aside, you can save a few bytes in your css by combining your styles:
table.td {font:list styles here...;}
(eliminate the rest)
again, not sure if this solves your problem but hth :o)