Afficher un message
Vieux 15/09/2007, 12h56   #7
Andy Dingley
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Any recommendations for using WindowsXP on a high res monitor (1920x1200)?

On Fri, 14 Sep 2007 14:36:18 -0700, ship <shiphen@gmail.com> wrote:

>The problem is that many web pages look rather weird.
>(e.g. http://www.computeractive.co.uk/ has the search box in the wrong
>place...)


It's an IE bug. "High res" displays encourage users (rightly) to set
their Windows desktop font size higher, so as to achieve physical font
sizes they can usefully see.

This breaks IE's default calculation though, as it applies the same
correction twice. A web CSS rule of body { font-size: 100%; } with a
desktop font size enlarged to 125% will be 1.25 times bigger than the
fonts used for the desktop, when it ought to be the same.

The fix for this is to abandon IE in favour of Firefox etc.

The best work-aound I know for IE is this HTML fragment (not embeddable
in a CSS stylesheet AFAIK). It accepts that there's no real fix for IE,
it assumes that more IE is running on moderately high-res screens than
anything else, and it doesn't degrade too badly for non-scaled desktop
fonts. Ugly, but that's IE for you.

<!--[if IE]>
<style type="text/css"/>
font-size: 80%;
</style>');
<![endif]-->

--
Cats have nine lives, which is why they rarely post to Usenet.
  Réponse avec citation
 
Page generated in 0,05224 seconds with 9 queries