px vs em revisited
px vs em revisited
Out of context: Reply #3
- Started
- Last post
- 22 Responses
- ETM0
To add, em units can be a PIA as they are relative to their parent element. So 1 em measurement doesn't also mean the same thing in deeply nested elements depending on the hierarchy and what has been defined and inherited along the way. Pixels are absolute, so 12px are 12 pixels, regardless of the parent/child relationship.
- Agreed, maybe you read this article too a couple years back
http://24ways.org/20…******** - Possibly. I have no idea where my methods come from anymore. :)ETM
- Agreed, maybe you read this article too a couple years back