472,983 Members | 2,509 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 software developers and data experts.

Preventing Text Enlargement?

I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
Jan 16 '08 #1
11 2049
In article
<97**********************************@d21g2000prg. googlegroups.com>,
fl******@comcast.net wrote:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
More than just accessibility consequences. If you decide that
text should be in a certain font size that looks good in your
browser on your monitor screen with your preferred resolution
and window size, how on earth can you be sure it will be legible
to me, on my monitor, with my preferred configuration?
You can't. So don't try and prevent the user from using the
font size that works for them!
Jan 16 '08 #2
fl******@comcast.net wrote:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
Use an image of it :-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jan 16 '08 #3
cf
let it be known on Wed, 16 Jan 2008 15:05:47 -0500
"Jonathan N. Little" <lw*****@centralva.netscribed:

|f*******@comcast.net wrote:
|I realize this has accessibility consequences, but Is there a way to
|prevent the user from enlarging text in the browser?
|
|Use an image of it :-)
|

Jonathan,

Don't forget about some browsers that can "zoom" the entire page, images and text alike!

Just my 2cents! ;-)
--
cf <cf****@NOcharterSPAM.net>
I may be dumb, but I'm not stupid.
Terry Bradshaw
Jan 16 '08 #4
Scripsit fl******@comcast.net:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
Surely. Point a gun at him and tell that you will shoot him if he
enlargens text, and if he still tries to do that, shoot him.

Actually, to take a shortcut, just shoot him. Very effective.

P. S. You can't do that in HTML; the <shootelement hasn't been
implemented, and its relatives like <blink>, <marquee>, and <frameset>
aren't effective enough.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jan 16 '08 #5
On Jan 17, 9:18 am, "Jukka K. Korpela" <jkorp...@cs.tut.fiwrote:
Scripsit fleem...@comcast.net:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?

Surely. Point a gun at him and tell that you will shoot him if he
enlargens text, and if he still tries to do that, shoot him.

Actually, to take a shortcut, just shoot him. Very effective.

P. S. You can't do that in HTML; the <shootelement hasn't been
implemented, and its relatives like <blink>, <marquee>, and <frameset>
aren't effective enough.
Judicious of those elements use may achieve the same effect by driving
users to shoot themselves.
--
Rob
Jan 17 '08 #6
On 1/16/2008 10:54 AM, fl******@comcast.net wrote:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
So you create a page that, on my PC, has text that is too small for my
aging eyes and then you want to prevent me from making the text larger
so that I can read it? Don't bother. No one will want to visit the page.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
Jan 17 '08 #7
Wed, 16 Jan 2008 10:54:01 -0800 (PST) from <fl******@comcast.net>:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
I nominate this for Craziest Question of the Week, Control Freak
Division.

What business of yours is it what size text the visitor uses?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Jan 17 '08 #8
On 01/16/08 11:54 am, fl******@comcast.net wrote:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
No.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jan 17 '08 #9
On Wed, 16 Jan 2008, fl******@comcast.net wrote:
I realize this has accessibility consequences, but Is there a way
to prevent the user from enlarging text in the browser?
Faccia un'offerta che non si puņ rifiutare.
Jan 17 '08 #10
Andreas Prilop carefully considered the situation and wrote:
On Wed, 16 Jan 2008, fl******@comcast.net wrote:
>I realize this has accessibility consequences, but Is there a way
to prevent the user from enlarging text in the browser?

Faccia un'offerta che non si puņ rifiutare.
Heh! That sounds great in Italian!
Jan 17 '08 #11
VK
On Jan 16, 9:54 pm, fleem...@comcast.net wrote:
I realize this has accessibility consequences, but Is there a way to
prevent the user from enlarging text in the browser?
There is not bulletproof method for that because there are too many
way visitors can mess up the intended design: custom stylesheets,
custom font settings, on-fly site rebuilding using browser plugins
like Greasemonkey for Fx etc.
And in any case there is zooming over Ctrl+ which you cannot block.

For a particular layout advise ask at
comp.infosystems.www.authoring.stylesheets
Jan 17 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Martin Lucas-Smith | last post by:
Can anyone provide any suggestions/URLs for best-practice approaches to preventing SQL injection? There seems to be little on the web that I can find on this. Martin Lucas-Smith ...
3
by: shortbackandsides.no | last post by:
I've been having trouble preventing users pressing Enter part way down a form so the incomplete form gets submitted. I came up with a possible solution - the code below seems to work in both...
2
by: Steveo | last post by:
Hi I have a form containing some text boxes and a button. I'm trying to work out how to make it so that if certain textboxes contain no data then the button is not enabled (however still...
5
by: Eli | last post by:
Hi, I'm using an IFRAME which in there I can load any site. But there are some sites that check if they're in a frame and reload the whole window. This disrupt my whole page. Some questions:...
5
by: www.douglassdavis.com | last post by:
I have an idea for preventing sql injection attacks, however it would have to be implemented by the database vendor. Let me know if I am on the right track, this totally off base, or already...
2
by: Markus Pitha | last post by:
Hello, Some time ago I tried to find a solution for preventing buffer overflows in stdin. I thought getc was the solution but today I came to a problem. I wanted to use my cognitions for a...
14
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
3
by: Kirit Sęlensminde | last post by:
I know that making new protected or private will (generally) prevent instances from being created on the heap, but I was wondering about preventing them on the stack. I saw in another post a...
6
by: javelin | last post by:
In ASP classic pages, I want to know if it's possible to prevent session variables from becoming zero length strings? I have tried setting the Session.Timeout to a large value, but alwas, after 20...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.