469,898 Members | 1,757 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Disable browser's text resizing functionality in code.

1
My issue is when I try to increase or decrease the text size of my page by navigating through
“View - > Text Size -> Increase /Decrease” it will change the entire page content.
But my requirement is like even though I try to do the “View - > Text Size -> Increase /Decrease” operation in either Firefox or IE.
My page should not get disturb, No change should occur in my page.
I am following W3 STANDARDS, so that I am using only 'div', not even a single table in my page I have used.


The size of the fields/text/image in my page should remain same even after when I perform the increase/decrease operation (View - > Text Size -> Increase /Decrease).
Jul 18 '07 #1
2 2755
harshmaul
490 Expert 256MB
basically, if you want your page to stay static whenever a user tries to change th size... you need to use absolute sizes.

<div style="font-size:15px;">
HELLOWORLD
</div>

Here using px as oposed to the others makes the size fixed
Jul 18 '07 #2
drhowarddrfine
7,435 Expert 4TB
This is only true for IE. Other browsers do not allow this limitation for accessability reasons.
Jul 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Weng kin | last post: by
3 posts views Thread by kj | last post: by
3 posts views Thread by David Rwj Cherry CS2000 | last post: by
9 posts views Thread by Bryan R. Meyer | last post: by
4 posts views Thread by David Logan | last post: by
5 posts views Thread by Luis Fajardo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.