[thelist] CSS Font Size
Jeff Howden
jeff at jeffhowden.com
Sun Oct 26 21:15:39 CST 2003
jp,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: live4bacon at optonline.net
>
> What font measurement should I use in my CSS? px, em,
> pt, kw???
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
uh oh, holy war material. *grin*
i personally prefer %. pay special attention that you don't use non-100%
sizing on elements that can be nested though. to that end, i usually set
the body to 75% or 80% (depending on the font-family) and then everything
else to 100%. heading tags get a size in excess of 100%, usually something
like the following:
h1 = 180%
h2 = 150%
h3 = 130%
h4 = 115%
h5 = 100%
h6 = 90%
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> [...] Currently my <p> tags have FONT-SIZE 12pt
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
if you're going to use a fixed size, go with px. pt are for printing and
will have drastic differences between operating systems.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> As soon as I learn enough to provide some tips I will
> surely pay my tab,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
no tips necessary since your post is web-dev related. the only time tips
are warranted is when your post is offtopic.
thanks,
.jeff
------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/
More information about the thelist
mailing list