To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publish.htmlOpen lugnet.publish.html in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / HTML / 317
316  |  318
Subject: 
Re: set font size for entire body via stylesheet
Newsgroups: 
lugnet.publish.html
Date: 
Mon, 2 Feb 2004 22:24:41 GMT
Viewed: 
2095 times
  
In lugnet.publish.html, Franklin W. Cain wrote:
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 { font-size: 7pt; font-family: verdana }

...and neither one works.  I'm currently using this:

body { font-family: verdana }

...because, while the font *size* is not being
recognized (and obeyed), the font *family* **is.**

Please help!
Thanks in advance.
Franklin

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 ways of specifying font-size, or using the
"font" shorthand property declaration, maybe there is some subsequent
conflicting declaration.

Constantine



Message has 1 Reply:
  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)

Message is in Reply To:
  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)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR