Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between css font size using em and percentage? [duplicate]

Tags:

css

font-size

Possible Duplicate:
Font size in CSS - % or em?

well i was trying to understand the different sizing options in css and i got lost between ems and percentage.
they seems to be the same i mean 1em = 150% and 1.5em = 150%.
and they do cascade too from parent elements.
am i missing something?

like image 612
Karim Avatar asked Oct 15 '10 10:10

Karim


1 Answers

i think this site may help with your question

http://kyleschaeffer.com/best-practices/css-font-size-em-vs-px-vs-pt-vs/

like image 125
sam Avatar answered Oct 20 '22 21:10

sam