Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could you please explain me or send me a link where is explained how does CSS property font-size work?
When you're working with relatives sizes in %. It's the percent of what? What are best practices etc.

thank you

share|improve this question
up vote 6 down vote accepted

The best place to go is where CSS is defined - http://www.w3.org/TR/CSS2/fonts.html#font-shorthand. To answer the % question - it's the percentage of the font size of the parent element.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.