Solved

How to force no text resize

Posted on 2007-11-27
6
305 Views
Last Modified: 2009-07-29
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
0
Comment
Question by:Allan_Shiels
  • 4
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Ashish Patel
Comment Utility
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

0
 

Author Comment

by:Allan_Shiels
Comment Utility
I have done this, but to no avail?
0
 
LVL 23

Expert Comment

by:Ashish Patel
Comment Utility
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

0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 23

Accepted Solution

by:
Ashish Patel earned 500 total points
Comment Utility
Okay here we go,
you will have to apply style to body tag and div tag if they exists with something like font-size: 8px; and that particular area will not get affected then after.
0
 
LVL 23

Expert Comment

by:Ashish Patel
Comment Utility
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.
0
 

Author Comment

by:Allan_Shiels
Comment Utility
good lad
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now