SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: font size

  1. #1
    SitePoint Evangelist
    Join Date
    Nov 2000
    Posts
    427
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    font size

    Hi, my site is written entirely without CSS, and I'd like the keep it written that way for compatibility's sake. However, I'd really like to be able to change the View->Text Size setting to Medium in case it is set to anything else because my site looks best that way. I've read that CSS is the way to do that. Is there something I can painlessly add that will accomplish just that? Thanks!
    But what care I for praise? - Bob Dylan

  2. #2
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe that once you have set the font size within your font tags it cannot be changed by CSS. Usually (if I'm correct) once you edit the font tags size, it overides the CSS setting anyway.

  3. #3
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The way is to use relative sizes over fixed sizes, so use "px" not "pt" (I think).
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  4. #4
    mouse monkey
    Join Date
    Dec 1999
    Location
    UK
    Posts
    656
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by weirdbeardmt
    The way is to use relative sizes over fixed sizes, so use "px" not "pt" (I think).
    Setting font sizes using both px and pt in CSS will cause the font to not resize with browser settings.

    The following links will help you out. Basically using css keyworks (small, x-small, medium etc.) will mean the text will resize depending on user settings. One downpoint is that different browsers render the sizes differently and Netscape 4 doesn't support them.

    http://www.alistapart.com/stories/sizematters/
    http://hotwired.lycos.com/webmonkey/...l?tw=authoring


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •