Re: [WSG] 'em' versus '%'

2005-09-25 Thread wybe
Hi Nick [quote]The big advantage of em over % for font size is you can use em to control width of other sections of the web site like line length and container divs.[/quote] Oke, i get that. Use em's to determine the width of a div and the div will resize if the user sets his font size to

Re: [WSG] 'em' versus '%'

2005-09-25 Thread wybe
But i'm not suggesting to use pixel sizing as an alternative for using em's. I'm suggesting to use percentages instead of em's. Actually i'm asking: what is the difference between using percentages or em's? (when it comes to font-size). Some of you have been trying to answer that question for

Re: [WSG] 'em' versus '%'

2005-09-25 Thread Patrick H. Lauke
wybe wrote: what is the difference between using percentages or em's? (when it comes to font-size). None. All other things being equal, 1em = 100%, 0.75em = 75%, 0.5em = 50% and so on. IE has a problem if the topmost size you define is ems, but beyond that it's all exactly the same. As

Re: [WSG] 'em' versus '%'

2005-09-25 Thread Wybe Weysters
I get that! thnx -- http://www.sceneone.nl Patrick H. Lauke wrote: wybe wrote: what is the difference between using percentages or em's? (when it comes to font-size). None. All other things being equal, 1em = 100%, 0.75em = 75%, 0.5em = 50% and so on. IE has a problem if the

Re: [WSG] 'em' versus '%'

2005-09-25 Thread Felix Miata
ncowie wrote: An em is equal to the width of an uppercase M in that font face and That would be a print media em. For the web, we have a standard definition: http://www.w3.org/TR/CSS21/syndata.html#em-width point size, except on the web it is 16 pixels or the if the font size has been

RE: [WSG] 'em' versus '%'

2005-09-25 Thread John Foliot - WATS.ca
Felix Miata wrote: No, it's not 16px. It's whatever size the user's browser default is set to. In most modern browsers, it just happens to start at 16px in most cases, but that is partly by accident, and is subject to user adjustment in multiple ways. The W3C has specified 16px/96ppi as

RE: [WSG] 'em' versus '%'

2005-09-25 Thread Nick Cowie
Wybe wrote: Actually i'm asking: what is the difference between using percentages or em's? (when it comes to font-size). No difference for just font-size. The advantage comes in using ems for both font-size and layout dimensions. Your layout can be proportional to your font size. Read

RE: [WSG] 'em' versus '%'

2005-09-24 Thread Taco Fleur - Pacific Fox
I believe the size of EM is the default size assigned by the browser, thus if the browsers default font size is 12px then 1em is 12px. Or if you set the body { font-size: 12px; } and p { font-size: 1.5em; } The size would be 18px. Somebody correct me if I am wrong, but this is

Re: [WSG] 'em' versus '%'

2005-09-24 Thread Felix Miata
wybe wrote: I was wondering about the use of em's to determin your font size. What is the difference between using em's or percentages? If http://css-discuss.incutio.com/?page=UsingEms and http://css-discuss.incutio.com/?page=UsingPercentages aren't good enough explanations, let's change them

Re: [WSG] 'em' versus '%'

2005-09-24 Thread Zach Inglis
I think he meant in the middle of his layout if he uses an em and makes it bigger than the other text. There is no problem with this if its a chunk of text but if you're just using em as a single linesomewhere, then i'd say it was bad. On 24 Sep 2005, at 23:12, Taco Fleur - Pacific Fox

Re: [WSG] 'em' versus '%'

2005-09-24 Thread Zach Inglis
Disregard my last statement, I got the wrong end of the stick ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help

Re: [WSG] 'em' versus '%'

2005-09-24 Thread ncowie
The big advantage of em over % for font size is you can use em to control width of other sections of the web site like line length and container divs. An em is equal to the width of an uppercase M in that font face and point size, except on the web it is 16 pixels or the if the font size