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 Patr

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

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 dec

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

2005-09-25 Thread Felix Miata
wybe wrote: > 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 let's say extra large. > But this still doesn't tell me what the advantage is of using em's to > determine font-size. There is no advantage, unless you consider the

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 topmos

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 o

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 m

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

2005-09-25 Thread Gene Falck
Hi, You wrote: 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 let's say extra large. But this still doesn't tell me what the advantage is of using em's to determine font-size. First, the real big one is to go along with what

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 le

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

2005-09-24 Thread Alan Stevens
ncowie wrote: I did a little experimenting a couple of days ago with ems on my blog http://nickcowie.com/2005/about-em That's a great article, Nick! Cleared up some questions for me, as I started in traditional print and so some of my assumptions about how browsers render em sizes were dead w

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 ha

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 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 as a single linesomewhere, then i'd say it was bad. On 24 Sep 2005, at 23:12, Taco Fleur - Pacific Fox wrote:

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 the

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 ho