Topic: em (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys. How are you? Could you help me, pleaes? quote:
code: padding: 5px 5px 5px 0.5em;
|
Maniac (V) Inmate From: under the bed |
![]() The purpose of using em measurements is to allow the object being specified in that way to alter it's size/margin/padding/border/etc. along with the text size. |
Paranoid (IV) Inmate From: NZ |
![]() Hi, DL. How are you? |
Paranoid (IV) Inmate From: Northumberland, England |
![]() the basic principle of 'em' according to my graphic design / typography tutor is that one 'em' is essentially the width of the widest character in the alphabet - the 'M'. The concept however is still a slightly confusing one - but in web terms it's like DL put it so eloquently. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Although outdated this site is always handy on font matters and has a demo page talking about em: |