View Single Post
  #3 (permalink)  
Old Dec 2nd, 2005, 22:09
Pheonix Pheonix is offline
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: why h1 doesn't inherit font -size from body?

I belive its the way the browser handles the styles
You may be setting body to a cirtain text size like so
body { font-size: 100%; }

but default setting for h1 might be font-size: 18pt

Which would pretty much override your setting.
You would want to set font size for h1 as
h1 { font-size: 100%; }
Reply With Quote