css - Issues with "font-size: 100%" -


i'm new css i'm sorry if dumb question.

i making site , used this:

body {   font-size: 80%; } 

later, today, tried apply ericmeyer's css reset page above 80% declaration, it's causing sorts of trouble font sizing.

i didn't think issue because thought font-size 100% wouldn't change font, "use font of parent" that's not case.

what font-size 100% declaration do? why applied every element in reset (i.e. html,body,div,span,a,b,i,font,etc {font-size} rather body{font-size} using, seemed inherited fine)?


before "just remove 100%" i'd know it's doing. 100% mean, , why mr. meyer apply bunch of elements rather body doing?

does using font-size: 0.8em; work? since 1em "the size of character", 0.8em should give want.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -