kraftomatic
07-28-2005, 04:06 PM
Hey All,
I was recently looking at the Simplebits stylesheet and I wanted to ask a question. I see in some instances the use of em for font-sizing, and other times a percentage (font-size: 88%;). Any particular reason why that's done?
I also noticed for padding and margin settings, sometimes they are in "px" and other times "em". I wasn't sure what the preferred way would be and why there would be a blend of methods.
I've used px for a long time, however with looking at the use of viewing sites through mobile devices and such, I'm looking to make the jump to em usage and was looking for some additional comments.
Thanks.
I was recently looking at the Simplebits stylesheet and I wanted to ask a question. I see in some instances the use of em for font-sizing, and other times a percentage (font-size: 88%;). Any particular reason why that's done?
I also noticed for padding and margin settings, sometimes they are in "px" and other times "em". I wasn't sure what the preferred way would be and why there would be a blend of methods.
I've used px for a long time, however with looking at the use of viewing sites through mobile devices and such, I'm looking to make the jump to em usage and was looking for some additional comments.
Thanks.