| | set font size for entire body via stylesheet
|
|
I need some assistance working with a stylesheet. I cannot get either Netscape (7.1) or MS IE (6.0) to recognize the "font-size" attribute for the "body" inside my stylesheet. I've tried these: body { font-family: verdana; font-size: 7pt } body { (...) (21 years ago, 2-Feb-04, to lugnet.publish.html)
|
|
| | Re: set font size for entire body via stylesheet
|
|
(...) I have IE 6.0, and it worked for me. But while I was setting up the test, I realized I had misspelled the css filename in the html document, so always check the spelling! If you don't have this text rel="StyleSheet" in the <link> tag line, it (...) (21 years ago, 2-Feb-04, to lugnet.publish.html)
|
|
| | Re: set font size for entire body via stylesheet
|
|
(...) Have you tried any of the other value specifications for font-size? Does x-small not suit your needs? or em|ex|px|pc|mm|cm|in or %? Just as a check on what is happening in your style sheets and html, I might suggest trying one of the other (...) (21 years ago, 2-Feb-04, to lugnet.publish.html)
|
|
| | Re: set font size for entire body via stylesheet
|
|
(...) Well "x-small" would be mostly OK, if it were consistent between platforms. It's larger in MSIE than in Netscape. I need it to always be the same size, regardless of browser used. (...) Do you mean the <FONT> tag? I tried defining "font" in my (...) (21 years ago, 2-Feb-04, to lugnet.publish.html)
|
|
| | Re: set font size for entire body via stylesheet
|
|
(...) All I'm saying is give some of the others a try until you figure out what's going on. (...) { font: weight style variant size/line-height font-name(s) } In this property, the order... is important (although not every value needs to be (...) (21 years ago, 4-Feb-04, to lugnet.publish.html)
|