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 / 320
319  |  321
Subject: 
Re: set font size for entire body via stylesheet
Newsgroups: 
lugnet.publish.html
Date: 
Wed, 4 Feb 2004 03:02:38 GMT
Viewed: 
2640 times
  
In lugnet.publish.html, Franklin W. Cain wrote:
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 %?

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.

All I'm saying is give some of the others a try until you figure out what's
going on.

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

Do you mean the <FONT> tag?  I tried defining "font" in my
stylesheet, but it didn't work.

{ font: weight style variant size/line-height font-name(s) }

In this property, the order... is important (although not every value needs to
be present)... A valid font value must contain the size and the font name, in
that order, otherwise, the value should be ignored (and is by most browsers)
(Web Design in a Nutshell, 2d ed., pp. 303-304).


Thanks!
Franklin

I like to use the background-color and color declarations as debugging tools.
Specifying red or aqua or something outside your design scheme can illuminate
how the cascade is working (or where it fails). Have fun.

Constantine



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

5 Messages in This Thread:


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

Custom Search

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