PDA

View Full Version : question about text



hog_mus_stream
Jun 17th, 2010, 04:29 AM
if we take that still some people use CRT monitors and 1024x768px
is minimum or standard for webpages, while many people use LCD's
with wide screen and high resolutions

is it better to make CSS text in pixels or points ?
does any of these 2 properties (by itself) have impact on small res VS high res
or it doesn't matter ?

tinimic
Jun 17th, 2010, 05:10 AM
is it better to make CSS text in pixels or points ?
does any of these 2 properties (by itself) have impact on small res VS high res
or it doesn't matter ?

Actually, neither should be used. Points is useable strictly for typeface applications when the size of the print media is known. Specifying size in pixels may disallow text size adjustments for visually impaired readers.

A good start in researching this topic is:

http://www.w3.org/QA/Tips/font-size

Hope this helps.

marilynn.fowler
Jun 17th, 2010, 07:08 AM
Using em is good because it allows older versions of IE to size up and down. Older IE browsers didn't scale up pixels. I use pixels when I need precise measurements, though sometimes I use pixels just for div widths and use ems for font sizes.

hog_mus_stream
Jun 18th, 2010, 01:30 PM
hmm bit confused now

groundzeroginge
Jun 18th, 2010, 01:37 PM
basically as I seem to understand it, use pixels for other elements, and em for text <p> <li> <h1> etc.