Solved

How to force no text resize

Posted on 2007-11-27
6
334 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
ID: 20357419
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
ID: 20357457
I have done this, but to no avail?
0
 
LVL 23

Expert Comment

by:Ashish Patel
ID: 20357467
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 23

Accepted Solution

by:
Ashish Patel earned 500 total points
ID: 20357603
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
ID: 20357616
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
ID: 20358099
good lad
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

821 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