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 / 316
315  |  317
Subject: 
set font size for entire body via stylesheet
Newsgroups: 
lugnet.publish.html
Date: 
Mon, 2 Feb 2004 20:05:03 GMT
Viewed: 
2244 times
  
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



Message has 2 Replies:
  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)

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