em vs. px
- Started
- Last post
- 10 Responses
- PonyBoy
which to use and why?
I like to look at the source of stuff that 'looks good' to me - I've noticed that there is plenty of usage of 'em' for type size...
... what do you use and why?
- kyl30
EMs - IE can't increase user text sizes set in px, or something like that
- thismanslife0
Tru dat.
- PonyBoy0
Enter response:
so you're saying that you use EM's so IE can increase the font size if the user requests it?
IE CAN NOT increase pixel fonts? Is that what you're saying.
Your post was a lil confusing. :)
- kyl30
that's what I'm saying
- kyl30
IE users can't increase font size set in px
- PonyBoy0
IE users can't increase font size set in px
kyl3
(May 6 06, 10:50)
---
Enter response:have you heard anything different in reference to IE 7 as far as this issue?
- kyl30
nope, and I've only just recently done a site all in EMs. So I can't say I'm all that versed in it.
It is nice becase you can call your diff. classes in % of your P, h1, h2, etc.
- conceited0
what's "em" ?
- jaylarson0
www.google.com...
define:em
- nocomply0
You will want to check out this article:
http://www.clagnut.com/blog/348/…
A bit old, but still considered the authoritive article in this area.
Basically, the only real reason you should be using ems instead of px for font sizes is because IE will NOT resize font that's set in px. That's it! Using ems is more difficult to get right cross-browser and i wind up using px most times just cuz its easier for me and keeps the css a little cleaner.