Gernot Hassenpflug wrote:
> On Nov 5, 2007 1:15 AM, David Laakso <[EMAIL PROTECTED]> wrote:
>
>> Gernot Hassenpflug wrote:
>>
>>> However, if I choose the largest
>>> font in IE7, the text in the li links starts to protrude from the
>>> fixed width containing elements (phrases do break correctly, but long
>>> words protrude). I thought I could fix this by the method of
>>> width:auto and min-width:<my current width size>. However, I then have
>>> two problems:
>>>
>>>
>>>
>> It is a bug in IE when setting fonts n em.
>>
>
> Thank you for your reply David,
>
> I had no idea of this one yet....
>
>
>> If you do not declare percent on the body or html the fonts go goofy
>> when scaled.
>> Adding this declaration at the top of the css file should correct it:
>>
>> html {font-size: 100%;}
>>
>
> Done! Will experiment with the automatic widening today.
>
>
>> PS Your page is barely readable on load at 116.5dpi (1680 laptop).
>>
>
> Why is that? I thought "em" is an ideal unit to use here, and 0.8 is
> merely a reduction from the usual browser size (16pt?). I understand
> that anything under 10pt maybe be really hard to read on 1680dpi, but
> how to get around that short of trying to detect the user's screen
> resolution? After all, even if I left font-size at 1em there would be
> a problem with some high resolution eventually? Is it possible to
> generalize font-size for all screen resolutions? Below is one link to
> an article on the pitfalls of using "em", but I am afraid I could not
> understand why using "em" is bad:
>
> http://www.bigbaer.com/css_tutorials/css_font_size.htm
>
> I'll keep looking though for a solution though...
>
> Best regards, Gernot
>
>
RE: <http://www.aikishugyo.dnsdojo.org/index.html>
Nothing wrong with using em (although my personal preference is percent).
As of this writing you /now/ have:
body {
font: 1em/1.4em "Times New Roman", Arial, sans-serif;
}
This will help;
body {
font: 1em/1.4 Georgia, "Times New Roman", Times, serif;
}
(Georgia has a larger "x" height and will be a little easier to read
than tnr. Line-height carries no unit of measure in most instances. It
is a good idea to stick with an all serif /or/ all san-serif font-family
string rather than mixing sans/serif.
Best,
~dL
--
http://chelseacreekstudio.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/