font size help

When I make a web page I was setting the font size to 20px for all the text.

But then I thought every bodys broswer and eye site is going to be diferant.
And they will have the browser set how they like the font size to be for them.

So if I just set font color and that is it will this not let their browser use the default font size they like?

Or how does this work?
 
thanks but

Well years ago I would use HTML to make my font size
<font size=4>

Then type text then end tag.

Now with CSS you can make font size with
<font-size20px>

Then type text then end tag.

But then I thought every broswer is set up diferant so people all have the font size they like.

So realy my font will be over writen.

So if I don't put a font size in my code what will happen?
 
You need to have some sort of font size in there whether it's points or "medium" etc, otherwise all text on your webpage will be the same size. Titles should be larger than text. Normally you put a selection of styles on your stylesheet from large header through to small text.

While it's true that surfers can select how a page appears, you would assume that the average user is using the average size or default (Firefox, no zoom, Arial 14pt, IE medium size) and use that for your design. If someone does not like it, they change sizes.

Take a look at w3schools' page on fonts, lots of other stuff.
 
Back
Top