Link to home
Start Free TrialLog in
Avatar of Allan_Shiels
Allan_Shiels

asked on

How to force no text resize

Good afternoon,

I have a specific area of text in a html webpage that i don't want to be able to resize upon browser
resize requests.  Basically the text needs to stay the same size even if the user goes to the view menu, text size, largest within internet explorer.

Is there a way to do this?

rgds
Avatar of Ashish Patel
Ashish Patel
Flag of India image

Try adding the below line in your html instead of just the <html> tag.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >

Open in new window

Avatar of Allan_Shiels
Allan_Shiels

ASKER

I have done this, but to no avail?
And How about this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ashish Patel
Ashish Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is same with this experts-exchange site too, as it has a style defined for body tag and if you try changing larger or anything that wont affect this site. Please do a test in an html with some text inside and by defining a style to body  and it wont change the font size.
good lad