Google Answers Logo
View Question
 
Q: Setting font size in a web page using IE ( No Answer,   0 Comments )
Question  
Subject: Setting font size in a web page using IE
Category: Computers > Software
Asked by: sanmarco-ga
List Price: $20.00
Posted: 28 Jan 2003 13:41 PST
Expires: 28 Jan 2003 18:34 PST
Question ID: 149650
I have a web application which employs straight HTML & DHTML and runs
only in
IE so my question relates only to that platform.  I have set the fonts
so that they do not change size when the user selects a different font
size in their browser settings.  This is very important as my app has
to appear in a small floating Iframe so has to be formatted correctly.

When testing on both my PCs (one with Win2k and IE 6.0 and the other
using Win98 with IE 5.5) the absolute settings work fine.

However one of my users reports that when he changes his font setting
in his browser (IE 6.0 on Win98), the fonts do change size on my page
when he accesses it on the Internet.  I am puzzled as to why the
absolute font setting doesn't work for him and I need to know if, and
how I can fix this.

Request for Question Clarification by sgtcory-ga on 28 Jan 2003 14:01 PST
Hello sanmarco,

How have you set the fonts using Cascading Style Sheets? This works
well with IE 4.0. and up at my last check. I would like to assist you
further, but I would need as much detail as you can offer.

Thanks in advance -
SgtCory

Clarification of Question by sanmarco-ga on 28 Jan 2003 14:20 PST
I am using style sheets but not in a separate file.  e.g. a typical
line is:

<div align=center id=oConnect lStatus="" style="font-size: 10px;
width: 194; height: 10; color: #808080">C o n n e c t i n g. . .</div>

So here I am using a style attribute in the Div tag and specifying an
absolute size of 10px.

Does this help?

Request for Question Clarification by sgtcory-ga on 28 Jan 2003 15:19 PST
Hmmm, this is indeed very different as I use IE6 with WIN98SE and it
works fine. (Does not allow the font to change size)

All I can do is dig a little deeper on the net for possible past
encounters with this problem. I will also leave the question unlocked
so other researchers can assist with an answer.

Thanks for the clarification -
SgtCory

Clarification of Question by sanmarco-ga on 28 Jan 2003 15:30 PST
Right - that's why this one has puzzled me!  It's as if this user's
browser is ignoring the font settings.

Request for Question Clarification by serenata-ga on 28 Jan 2003 16:47 PST
Hi sanmarco ...

Overwriting absolute font sizes in IE 6 isn't hard to do - especially
in Win2KPro or WinXP ...

The main override is contained in Tools > Internet Options >
Accessibility > and then checking the overrides - especially the use
'my' style sheet. That 'my' stylesheet can automatically be picked up
from the installation of some third party software, such as Dream
Weaver (setting preferences), Front Page 2000 (setting preferences),
Word 2000 (setting preferences for web viewing), and even Acrobat 5
(same thing).

Also note that  certain monitor drivers compensate for the problem of
absolute sizes in web pages by automatically inserting the ability to
override it when you install the monitor drivers and adjust the
display settings.

The above, combined with display settings, including monitor
resolution, and the Win OS font settings can override a web setting
for an absolute font size to suit the viewer's settings - especially
for some of those web pages created using CSS 3, which some browsers
won't even handle.

Microsoft built it that way on purpose in order to comply with
accessibility standards, and attempts to block it only lead to
'fixing' those attempts in the new Service Pack release.

I suspect that this may be the case in your friend's viewing your
page, whether or not he has physically inserted an override.

Serenata

Clarification of Question by sanmarco-ga on 28 Jan 2003 18:30 PST
Thanks Serenata - I tested this and I could reproduce the problem by
adjusting the accessibility settings.  I was wondering if there was a
setting that did the override but obviously I didn't look far enough.

Makes me realize now that for specific cases like this the only way
you can be sure of the correct formatting is to use graphics.

Btw - this is the first time I used Google Answers - should I now
withdraw my question as I got the answer in a comment?

Thanks again!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy