[css-d] User Define Stylesheet
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 Bandel Gwen 7634288652 Confirmed 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? Thanks, Mike - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. __ 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/
Re: [css-d] User Define Stylesheet
The selector is located in an external stylesheet, so I figured that what I have set would override what they have. In their external sheet they have: .smalltxt { FONT-SIZE: 11px; FONT-FAMILY: Verdana, Arial, Helvetica, Sans-Serif; } How can I force it to override what they have? Is it possible? Mike Dougherty <[EMAIL PROTECTED]> wrote: try finding their selector and use that in your stylesheet My guess is that their selector has a higher specificity and it still trumps your straightforward selector On Fri, 19 May 2006 11:07:08 -0700 (PDT) Mike Tuller wrote: > 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 > > > Bandel > - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. __ 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/
Re: [css-d] User Define Stylesheet
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 > > Bandel > Gwen > 7634288652 > > Confirmed > > > 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/