...

View Full Version : absolute font size



ecnarongi
09-25-2002, 03:39 PM
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.

adios
09-25-2002, 04:52 PM
<style type="text/css">

body {
font-size: 16px;
}

</style>

Not guaranteed to *always* work.

brothercake
09-25-2002, 05:13 PM
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.

ecnarongi
09-25-2002, 06:00 PM
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.

ionsurge
09-25-2002, 06:45 PM
There is an IE7?

ecnarongi
09-25-2002, 08:52 PM
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?

brothercake
09-25-2002, 11:50 PM
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/

adios
09-26-2002, 06:38 AM
http://www.w3schools.com/browsers/browsers_stats.asp

ronaldb66
09-26-2002, 08:58 AM
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) (http://www.alistapart.com/stories/fear4/)
(No opinion here, just some nuance).

Whoops, lost a bracket there...

dysfunctionGazz
09-26-2002, 10:55 AM
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...

ronaldb66
09-26-2002, 12:17 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum