Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post

    absolute font size

    is there a way to keep the font size the same even if the user has his or her font size set to 300% in the browser? all help will be apperciated.
    Last edited by ecnarongi; 09-25-2002 at 04:46 PM.
    I would rather be a lion for a day than a lamb that lives forever.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    <style type="text/css">

    body {
    font-size: 16px;
    }

    </style>

    Not guaranteed to *always* work.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it won't work in any gecko browser - mozilla, ns6/7 - or mac/ie5.
    I wouldn't be surprised if IE7 has this behaviour as well.

    There seems to be a trend away from fixed text, which I was initially concerned about but have now embraced (mostly) - in situations where text really *must* be fixed, use an image instead.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post
    yeah I was thinking about using an image, until I ran into problems with textboxes and dynamic content like dates.

    do you have any suggestions for those?? all help is appreciated.
    I would rather be a lion for a day than a lamb that lives forever.

  • #5
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There is an IE7?
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post
    Originally posted by ionsurge
    There is an IE7?
    only in IE7, I guess that would not be a solution until 2004 then. is there a current tech where I can get a braod range of browers?
    I would rather be a lion for a day than a lamb that lives forever.

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't think there's an IE7 ... I was just speculating the future. There is going to be an Opera 7 quite soon; that's looking quite sexy.

    Anyway a good place for browsers is http://browsers.evolt.org/

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts

  • #9
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There seems to be a trend away from fixed text, which I was initially concerned about but have now embraced (mostly) - in situations where text really *must* be fixed, use an image instead.
    These guys seem to think otherwise...
    Give me pixels or give me death (A List Apart)
    (No opinion here, just some nuance).

    Edit: Whoops, lost a bracket there...
    Last edited by ronaldb66; 09-26-2002 at 01:12 PM.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #10
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton
    Posts
    180
    Thanks
    0
    Thanked 0 Times in 0 Posts
    why would people set font to 300%????

    if this is because they have bad eyes then surely it would be a requirement not to disable this option...

    Plus surely the viewer would know it was set at 300% and change it if need be...

  • #11
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts
    True, but the article i mentioned outlines a number of reasons why relative font sizes, although principally sound and sensible, go horribly wrong due to bad browser support. They state that although fixed pixel size is not ideal, it's often the least bad solution.
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  

    Posting Permissions

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