On 06/05/19 14:07 (GMT-0400) Mike Tuller apparently typed:

> I have a webpage, not of my own that I use for printing reports, and the font 
> is too small. I want to override the CSS that the company uses and replace it 
> with my own. Here is the HTML

> <TR valign="top">
> <td nowrap class="smalltxt">Bandel&nbsp;</td>
> <td nowrap class="smalltxt">Gwen&nbsp;</td>
> <td nowrap class="smalltxt">7634288652&nbsp;</td>
> <td nowrap class="smalltxt">&nbsp;&nbsp;</td>
> <td nowrap class="smalltxt">Confirmed&nbsp;</td>
> <td nowrap class="smalltxt">&nbsp;&nbsp;</td>
> </tr>

> When I try to set the text size with this:

>     td.smalltxt 
>     {
>         font-size: 16px;
>         font-family: Arial;
> 
>     }

> It does not change. I can change the color, so it seems that color is not set 
> in their stylesheet, but font size is. I also know that you can use 
> !important to force, but that doesn't seem to work in this. Can someone show 
> me how they would go about forcing the user devine stylesheet to display the 
> way I need it to?

Maybe they have a print-specific stylesheet for the size, but not for
the color. Make yours print-specific with !important and it should override.

Also, text sizing for print should be done in pt. You might find your
16px when applied to be sub-microscopic when printed.
-- 
"All have sinned & fall short of the glory of God." Romans 3:23 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to