473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How can I stop XP 'Large Fonts' affecting web page?

Hi all,

Hope someone is able to help. I notice when I design a basic HTML page, it
is affected if a WinXP user has Large Fonts set in their Control Panel.
However some pages, e.g. www.bbc.co.uk/news are unaffected by this I think.
They are definitely not affected by changing the font size within the
browser.

Because I want to add tables, which will word-wrap incorrectly if the font
size is changed, how can I disable allowing the browser to do this?

Basically I want the font size to stay how I designed it. If they need it
bigger, they can use the zoom option in more recent browsers.

Thanks in advance for any helpful constructive replies :)
--
Thanks,
Me

I recommend www.Superhighstreet.com/home Finds anything or they pay for it!
May 27 '06
57 3586

Chris Tomlinson wrote:
Hi all,

Hope someone is able to help. I notice when I design a basic HTML page, it
is affected if a WinXP user has Large Fonts set in their Control Panel.


This is a complicated Windows / IE bug that I've no real intention of
explaining at this time (archives of c.i.w.a.s have it, along with the
best fix I know, from Martin Geisler)
http://groups.google.com/group/comp....3463bb7e6d6e1d

In general though, read the archives of c.i.w.a.h and follow the
recommendations in there.
Use CSS
Never use <font>
Always set font-size for <body> to be 1em / 100%
Never set any size less than 2/3rd of this

Always set font-size with em or % units
Use pixel sizes for font-size _rarely_, only when fitting into a
graphical design is more important than usability.
There are still issues with Firefox (pixel sizes are scalable) and with
IE (base font size is influenced by the Control Panel | Display
defaults)

May 30 '06 #51
Randy Webb wrote:
As for JS being optional. Sure it is. But the trend on the web is
towards a dependency on Javascript, not away from it.


How about we write high quality webpages rather then following trends like
lemmings?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
May 30 '06 #52
To further the education of mankind, "Chris Tomlinson" <an**@anon.com>
vouchsafed:
It was superhighstreet. That didn't look bad at all with relative
fonts and still doesn't look bad in Firefox. I suspect your
insistence on changing it relates to a somewhat primitive notion of
what does and does not look good in a web page. The best pages I've
seen readjust the placement of their content with elegant facility.
superhighstreet almost fits/did fit in that category now/then, and
with just a little more effort on your part, would. Of course not
everyone seeks perfection in the perfect way.


Thanks, I appreciate your feedback. I tweaked the shadows so they
don't break when the tables are enlarged, and I can live with the
bullet point lines wrapping over to 2 lines if someone wants large
fonts in Firefox (a rare combination I think).


Best of luck. Your site _is_ pretty attractive overall.

--
Neredbojias
Infinity has its limits.
May 30 '06 #53
David Dorward said the following on 5/30/2006 2:36 PM:
Randy Webb wrote:
As for JS being optional. Sure it is. But the trend on the web is
towards a dependency on Javascript, not away from it.


How about we write high quality webpages rather then following trends like
lemmings?


Theory: Every web page on the planet should be accessible by any moron
with any outdated obsolete UA available to them.

Reality: It isn't even close to that.

Now, you want to stay in the Theoretical world, please do. I prefer
Reality and Reality is that the web is nowhere near - nor will it ever
be - even 90% accessible and no amount of whining, legislation or any
other motive to make it so is going to change it.

Legislation, Morality, and Common Sense do not run the Web. Microsoft
and Money drive the Web. And to believe differently is insane.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 30 '06 #54

"Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html> wrote in
message news:Xn*********************************@208.49.80 .251...
To further the education of mankind, "Chris Tomlinson" <an**@anon.com>
vouchsafed:
It was superhighstreet. That didn't look bad at all with relative
fonts and still doesn't look bad in Firefox. I suspect your
insistence on changing it relates to a somewhat primitive notion of
what does and does not look good in a web page. The best pages I've
seen readjust the placement of their content with elegant facility.
superhighstreet almost fits/did fit in that category now/then, and
with just a little more effort on your part, would. Of course not
everyone seeks perfection in the perfect way.
Thanks, I appreciate your feedback. I tweaked the shadows so they
don't break when the tables are enlarged, and I can live with the
bullet point lines wrapping over to 2 lines if someone wants large
fonts in Firefox (a rare combination I think).


Best of luck. Your site _is_ pretty attractive overall.


Cheers :D

--
Thanks,
Me

I recommend www.Superhighstreet.com/home Finds anything or they pay for it! --
Neredbojias
Infinity has its limits.

May 30 '06 #55
Randy Webb wrote:
Theory: Every web page on the planet should be accessible by any moron
with any outdated obsolete UA available to them.
Oooh. I like the way you label people who can't get up to date
technology "morons". It makes it seem like its perfectly OK to slam doors
in their face.
Reality: It isn't even close to that.


So 99.9% of websites are badly written. It doesn't follow that we have to
avoid writing something of decent quality. It isn't like it takes
significantly more time to produce something accessible if the author knows
how to go about it.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
May 31 '06 #56
David Dorward said the following on 5/31/2006 4:02 PM:
Randy Webb wrote:
Theory: Every web page on the planet should be accessible by any moron
with any outdated obsolete UA available to them.
Oooh. I like the way you label people who can't get up to date
technology "morons". It makes it seem like its perfectly OK to slam doors
in their face.


Fair enough. Bad choice of word on my part. Replace it with the word Idiot.

<URL: http://en.wikipedia.org/wiki/Idiot>
Reality: It isn't even close to that.


So 99.9% of websites are badly written.


If it is that low.
It doesn't follow that we have to avoid writing something of decent quality.
Agreed.
It isn't like it takes significantly more time to produce something accessible
if the author knows how to go about it.


Fair enough.

Since it is simple and doesn't take significantly more time, give me
your ideas on a non-JS and a Netscape 4 series version of a WYSIWYG Web
based HTML editor? Along with "sane fallback"?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 31 '06 #57
Randy Webb wrote:
Since it is simple and doesn't take significantly more time, give me
your ideas on a non-JS and a Netscape 4 series version of a WYSIWYG Web
based HTML editor? Along with "sane fallback"?


If the client doesn't support the features needed for the
so-called-WYSIWYG[1] view fail back to a plain old textarea. The user can
either write raw markup, or you can use something like Markdown on the
server.
[1] No such thing exists for HTML. Its a structural language. Ditto CSS.
User agents apply their and user's own stylesheets too.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jun 1 '06 #58

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

Similar topics

0
by: theinvisibleGhost | last post by:
Yesterday was getting very fed up trying to run a program which works fine on my desktop machine (XP Pro) but as soon as I put it on a laptop, I was getting an Exception, which killed the program....
0
by: Frnak McKenney | last post by:
Environment: OS Name Microsoft Windows 2000 Professional Version 5.0.2195 Service Pack 4 Build 2195 Microsoft Visual C# .NET 2003 Microsoft Development Environment 2003 Version 7.1.3088...
5
by: Alex Glass | last post by:
I have created a winforms application and I designed it with the normal display settings, (96DPI) however, when I set the font settings to 120 DPI, my application text labels look all messed up. ...
2
by: Luc | last post by:
I saw a few posts on this newsgroup about it but nothing to help me resolve this problem: We designed a window in .NET on a platform using small fonts (120 ppp). But this window will run on...
8
by: traditore | last post by:
Hello. I'm trying to load fonts in a web page using "style" tag. The TTF files are in other page whose URL is, for example, "http://myURL/fonts". The HTML code is something like: <html>...
8
by: Joe | last post by:
Hi trying to write some code to determine if user has large/small fonts set on PC thought this would work but it didn't Any suggestions??? Thanks Graphics g = Graphics.FromHwnd(this.Handle);
0
by: zephyrus360 | last post by:
This is about a technique to find the mod of a very large integer with a normal small integer. I recently encountered this problem when I needed to compute the modulus of a very large number with...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.