OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
em
This page's ID:
11086
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi, guys. How are you? Could you help me, pleaes? I am wondering what *em* does for styles. [quote]By definition, the em unit is the size of the font, which by definition equals the height of the font. What this really means is usually (at least roughly) equal to the distance from the lowest descender of the characters up to the top of the highest ascender, counting diacritics as descenders or ascenders according to their position. But at the most general level, we can only say that the size of the font is a quantity assigned to the font by its designer. [/quote] This is a quote from my reserch about em. Long time ago, actually I read same sort of definition about em. But I have not been able to understadn actual use of em. I mean I sometimes see setting font size not px but em. How does it work? And also I found this kind of thing: [code]padding: 5px 5px 5px 0.5em;[/code] Why do poeple want to do like that? I am sure it is intentional to get some effect. But I cannot get the point. Could anyone explain it to me, please? Hiroki Kozai
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »