Possible Duplicate:
What is the value of the css 'ex' unit?
Is there a proper usage of the 'ex' unit in CSS? When should it be used/not be used instead of other units like 'px', '%', 'em'?
Possible Duplicate:
What is the value of the css 'ex' unit?
Is there a proper usage of the 'ex' unit in CSS? When should it be used/not be used instead of other units like 'px', '%', 'em'?
I'd think ex
should be used instead of em
when dealing with vertical rather than horizontal measurements (e.g., height instead of width).
It's a pretty obscure unit. I've been a pro web developer for eight years and never used it, or even seen it used, even once.