473,503 Members | 8,959 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text size on webpages

Hi

this may be a stupid question, but anyway!

I have created a website with a few pages. I have noticed that when I
change the IE browser text size ( through the view menu -> text size)
to largest everything is blown up very large. Is there a way to change
the html code so that the text won't be blown up to much? without
changing the font in the html to a very small size?

Regards

Jul 23 '05 #1
5 1676
On 29/06/2005 10:39, Michael Landberg wrote:
I have noticed that when I change the IE browser text size ( through
the view menu -> text size) to largest everything is blown up very
large.


I don't quite see what that has to do with scripting, but it sounds like
you're using em units to size text. Whilst that should be fine, IE
manages to make a mess of it. Use percentages instead.

If that doesn't help, post a link.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #2
Hi

Thank you for responding. What I also meant was that when I open some
webpages ( e.g. www.leaseplan.com or www.cnn.com etc.) and set the text
size to largest, i see that the web page text does not change at all.
How can I do the same for my website? What code/font or whatever must I
use to accomplish that?

Regards

Jul 23 '05 #3
On 29/06/2005 23:10, Michael Landberg wrote:
What I also meant was that when I open some webpages [...] and set
the text size to largest, i see that the web page text does not
change at all.
How can I do the same for my website?
You shouldn't even try. It's bad for your users. Many will have bad
eyesight, and ten pixel-high fonts will hinder their ability to use your
site even more.

If you want to do this because non-standard font sizes break your
design, then fix it. Read up on producing fluid layouts.
What code/font or whatever must I use to accomplish that?


What you're observing is a bug in IE. Nothing more. Decent browsers will
never allow a site to prevent text resizing, and will allow users to
/force/ a minimum.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #4
"Michael Landberg" <go********@hotmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi

Thank you for responding. What I also meant was that when I open some
webpages ( e.g. www.leaseplan.com or www.cnn.com etc.) and set the text
size to largest, i see that the web page text does not change at all.
How can I do the same for my website? What code/font or whatever must I
use to accomplish that?

Regards


CSS. For example:
<html>
<head>
<title>CSS.htm</title>
<style type="text/css">
body { font-family:Arial,Helvetica; font-size:12pt }
td { font-family:Verdana,Helvetica; font-size:10pt }
th { font-family:Verdana,Helvetica; font-size:10pt; font-weight:bold }
</style>
</head>
<body>
Hello World!
<br>
<table border="0" width="60">
<tr><th>#<hr></th></tr>
<tr><td align="center">2</td></tr>
<tr><td align="center">3</td></tr>
</table>
</body>
</html>
Jul 23 '05 #5
McKirahan wrote:
"Michael Landberg" <go********@hotmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi

Thank you for responding. What I also meant was that when I open some
webpages ( e.g. www.leaseplan.com or www.cnn.com etc.) and set the text
size to largest, i see that the web page text does not change at all.
How can I do the same for my website? What code/font or whatever must I
use to accomplish that?

Regards

CSS. For example:


And even the bug ridden IE6 allows users to veto that. Tools>Internet
Options>Accessibility>Ignore font sizes/syles specified in webpages.

<snip>

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1256
by: | last post by:
Hey guys, Is there some code to check the page size of some webpages i am opening using asp or javascript? I want to check that they are all over a certain amount (ie: they display something, and...
9
2352
by: Billy | last post by:
Hi, I was wondering if it is possible to change the browsers text settings. ie. in internet explorer you can change the text size by going to: View -> Text Size Is there a way to overide a...
2
5448
by: tgundeck | last post by:
Does anyone know how I can check the file size of photos or any file type in JavaScript? I'm allowing users to store photos in my web page using the input type = file tag, but need to limit the...
5
4132
by: bcanavan | last post by:
When I export xml(and xls) from Access 2003 the result is a complete report in a single page. I would like to get the entire report in a single page (one trip to the server) for printing and...
4
2586
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
1
1806
by: Hexman | last post by:
Code below ---- I'm trying to save some specific web pages to disk as text files. I searched the Internet and found a basic example which I changed to fit my needs. I tested it out first on a...
3
3968
by: acecraig100 | last post by:
I am fairly new to Javascript. I have a form that users fill out to enter an animal to exhibit at a fair. Because we have no way of knowing, how many animals a user may enter, I created a table...
3
2574
by: jonniethecodeprince | last post by:
Hi all, I have trouble getting an array of data stored in a separate javascript file i.e. a file called books.js into a table of data for a .xhtml file. There are 50 Records in this file....
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7361
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7015
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
749
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.