/    Sign up×
Community /Pin to ProfileBookmark

font-sizes resize in Firefox unwantedly but not in IE

I’m worried about a user coming to my webpage and using their browser options to enlarge text in the browser unwantly. Most text looks great even with the user’s increasement, however some text I don’t want the user to be able to resize.

Using PT measurements in widths and heights remains uneffected by the user’s custom text-sizes in their browsers on both Firefox and IE:

[code]
<div style=”width:50pt;height:200pt;background-color:green”></div>
[/code]

However, using PT in the font-sizes effect Firefox and the text will grow or shrink (but not in IE):

[code]
<div style=”width:50pt;height:200pt;font-size:15pt;background-color:green”>15pt</div>
[/code]

My Question is does anyone know some kind of special font-size that won’t enlarge or shrink in either IE or Firefox?
I’m looking for a solution similar to this that would make Firefox not able to change the text sizes:

[code]
font-size:15px/100em;
[/code]

Of coarse that won’t do it but I got the idea from Yahoo when I came across this:

[code]
body{font:84%/1.2em arial,sans-serif;}
[/code]

Can you think of any solution to keep the text-size in Firefox the same size regardless how they use CTRL(+) and CTRL(-) thanks!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@CharlesDec 02.2005 — The very reason that we use Firefox is to keep you from disabling our ability to increase the text size. It's an accessibility issue. Some of us don't see so well.
Copy linkTweet thisAlerts:
@UltimaterauthorDec 02.2005 — Hmm, that is an awfully-good point. I'll reconsider...
×

Success!

Help @Ultimater spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...