/    Sign up×
Community /Pin to ProfileBookmark

Reset the Browser’s Text Size to !00%

Hello: If it exists, what is the Code (using a Form Button Click), to Reset the Browser’s Text Size to !00% (or Medium in Internet Explorer). In other words, If the User Preset their Browser to Display Text at 120% (or Large in Internet Explorer >”top menu” View >Text Size). Thanx, MLR

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@JPnycDec 17.2004 — You can't. Set your text in your css and let the user choose. Or, you could use JS to make fontSize a % of browser or screen width or height.
Copy linkTweet thisAlerts:
@MLRauthorDec 17.2004 — Thanx for replying DUNSEL, MLR ?
Copy linkTweet thisAlerts:
@senshiDec 17.2004 — AND! if that person is partially sighted and requires the text at 120% to view... you just alienated a surfer by reducing that font setting in the browser.

Before you shout accessability settings, think again, thats the biggest pile of crap this side of the last millenium that M$ has ever created, my partner cant use it so we have to set a larger font size in the browser.

You have to remember that the forum your playing to is very public, if you want to cater for all, you need to give a little thought that the internet is also used by the blind and partially sighted.

This is one BIG reason why I jump up and down about people changing browser settings, leave them as they are, people in general do not like their browsers settings changed or modified, unless you are going to change them back before your site is navigated away from...

Far simpler to just leave things as they are, all you need to be concerned with is if it views correctly at the resoloution that you designed it to be viewed on.
Copy linkTweet thisAlerts:
@MLRauthorDec 17.2004 — Hello all concerned (Senshi): I think it's important to be considerate to people's limitations (example - compromised vision). That's why I use a Default Larger BOLD Font on my Website. Senshi, I realize this is a Discussions Forum, but Please be gentle. (And I would prefer to return the User's Text Size to their Preference. Thank-you, Respectfully, MLR ?
×

Success!

Help @MLR 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 5.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

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