Solved

How to force no text resize

Posted on 2007-11-27
6
327 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

810 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