OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
EM and EM
This page's ID:
25342
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
Actually, [u]Cascading[/u] Style Sheets, allows to mix various units. The [i]%[/i] and [i]em[/i] are some relative units, while [i]px[/i] and [i]pt[/i] are absolute. Mixing the units is often useful. For some scripts I even set the font-size of a container to [i]1px[/i], and the size of all the children were in [i]em[/i]. That way it's possible to scale the effect/game/script/whatever via Ctrl+Plus and Ctrl+Minus. As I said above, to precisely "convert" a graphic resolution in [i]em[/i], nest it in an element with the font-size set with an absolute unit. Hope that helps,
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »