![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| ||||
| ||||
|
|
On Mon, 02 Apr 2007 12:11:47 -0600, Bergamot <bergamot (AT) visi (DOT) com wrote: Andy Dingley wrote: body { font-size: 1em; } is the way to fix this. |
|
Better: body { font-size: 100%; } This avoids an IE bug scaling em units. |
|
Even better: style type="text/css" body { font-size: 1em; } /style !--[if IE] style type="text/css" body { font-size: 80%; /* 120dpi (Windows "large fonts 125%" )*/ } /style ![endif]-- |
|
This avoids a desktop font scaling bug in IE on the majority of modern desktops |
#12
| |||
| |||
|
|
It's an absurd second guess that claims that the user is all wrong (by 20%), _whatever_ he has done. |
#13
| |||
| |||
|
|
On 3 Apr, 07:44, "Jukka K. Korpela" <jkorp... (AT) cs (DOT) tut.fi> wrote: It's an absurd second guess that claims that the user is all wrong (by 20%), _whatever_ he has done. Try it. |
|
Find a Windows box with a high-res display and a monitor that's small enough so that the user has had to increase their desktop font size (NB _desktop_, not browser). IE has a scaling bug here and compensates a second time for soemthing that has already been compensated for. |
|
It's a work-around and it's not perfect, but it's better (for most IE users, most of the time) than using 100%. |
#14
| |||
| |||
|
|
It sets the font size to barely legible, instead of comfortably legible. |
|
What you need to prove is that it's better than not setting overall font size at all. |
#15
| |||
| |||
|
|
On Mon, 02 Apr 2007 12:11:47 -0600, Bergamot <bergamot (AT) visi (DOT) com wrote: Andy Dingley wrote: body { font-size: 1em; } Better: body { font-size: 100%; } Nobody ever answered the my question why debate over the pros and cons of two nominally equivalent rules (both just stating the default) when there's the simple option of not using either of them. |
#16
| |||
| |||
|
|
Andy Dingley wrote: body { font-size: 1em; } is the way to fix this. Nobody ever answered my question what's the point of including a rule that nominally says just the default but is known to trigger some bugs. |
#17
| |||||
| |||||
|
|
85% is hardly "barely legible" on a system where 100% is optimised, |
|
although I agree that it's not ideal. |
|
What you need to prove is that it's better than not setting overall font size at all. Can't do that. |
|
It's an IE bug, and I just can't fix all those. |
|
OTOH, it's harmless on non-Windows or non-IEs, so anyone who cares should get their act together and a better browser. |
#18
| |||
| |||
|
|
If you use em units for anything at all (margins, widths, etc.) then omitting font-size:100% probably won't give results in IE that are comparable to other browsers, all other things being equal. It can mess up positioning, among other things. |
|
Better safe than sorry, don't you think? |
#19
| |||
| |||
|
|
Honestly, I think you argue for its own sake. Pick something worth debating over. This isn't. |
#20
| |||
| |||
|
|
What guarantee do I have that some browsers won't get upset by that 100%? |
![]() |
| Thread Tools | |
| Display Modes | |
| |