D'oh!

I should've read that link above before posting...

To redeem myself:
EM:
- always relative to font size
- fonts affect absolute widths of things set with EM! (e.g. could cause
horizontal scroll)
- however, relative widths are not affected.
e.g. if a particular sentence fits all on one line, it will always fit on
one line even if the font is changed to be very large.

PERCENT:
- always relative to containing block (could be parent font as well)
- this means that containing blocks can get very crowded.





On Thu, Mar 19, 2009 at 8:48 AM, Kenny Leu <kenny....@gmail.com> wrote:

> Hi all!
>
> I'm a long-time stalker of this thread, first-time poster.  :)
>
> I'm very curious about this question as well...it was always my
> understanding that, analogously,  em --> decimal & percent --> percent.  Is
> there a subtlety that I'm missing?
>
> Kenny
>
>
>
>
> On Thu, Mar 19, 2009 at 7:31 AM, David Laakso <
> da...@chelseacreekstudio.com> wrote:
>
>> Rob Emenecker wrote:
>> > Hi all,
>> >
>> > I am looking for a few good web locations that explain and clarify the
>> > differences between EMs and PERCENTS, and recommendations for using one
>> or
>> > the other. I do not want the W3C specification, I know where that is. I
>> am
>> > looking for practical information in the real world application of one
>> > versus the other.
>> >
>> > Thanks!
>> >
>> > ...Rob
>> >
>> >
>> >
>>
>> Why limit yourself to one or the other :-) ? Need of the moment
>> determines structure-- pixel, em, or percent. And I suppose, if push
>> came to shove,  you could go for broke and employ the best advantages of
>> pixel, em, and percent widths all within the same layout structure.
>> Georg Sortun [1] seems to pull it off quite well.
>> <http://www.gunlaug.no/contents/toc_7a.html>
>>
>>
>> --
>>
>> A thin red line and a salmon-color ampersand forthcoming.
>>
>> http://chelseacreekstudio.com/
>>
>> ______________________________________________________________________
>> css-discuss [cs...@lists.css-discuss.org]
>> 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/
>>
>
>
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to