[thelist] CSS: Fuzzy Relatives.

Martin martin at members.evolt.org
Sat Sep 1 03:06:17 CDT 2001


ted serbinski wrote on 1/9/01 12:59 am

>> What have you found to be the most successful manner of scaling
>> font-sizes using CSS?
>
>pixels.

>
>now if all browsers support px, i do not know. but it does seem to work the
>best with the fewest problems being more compatible cross-platform.

Pixels are the most supported measurement for onscreen layout, but
you'll need to use pt for printers (some printers interpret '10 px'
over-literally, and text 1/60 of an inch high on a 600dpi printer
is a bit small to read).

The canonical explanation:
http://www.alistapart.com/stories/fear4/

To summarise that approach, you have 2 CSS sizing choices:
>1. Use pixels (not points, not ems, not percentages, not keywords) to 
>specify your font sizes. Or: 
>
>2.	Use nothing. Do not specify font sizes at all, and let the browser's 
>stylistic defaults and the visitor's preferences take care of the relative 
>size relationships. 

Cheers
Martin

_______________________________________________
email: martin at easyweb.co.uk             PGP ID: 0xA835CCCB
       martin at members.evolt.org      snailmail: 30 Shandon Place
  tel: +44 (0)774 063 9985                      Edinburgh,
  url: http://www.easyweb.co.uk                 Scotland





More information about the thelist mailing list