RE: pt and px

1pt == 1/72 inch (device independent for physical size)
1px == 1 pixel   (device dependent for physical size)

My personal preference would be to suggest using pt.

On a machine with "small fonts" Windows uses 72dpi as screen resolution,
with "large fonts" it uses 96dpi.

With a quick bit of maths, you can see that 1px = 1pt (on small fonts) and
if you use large fonts, then the conversion is 1px = 0.75pt


-----Original Message-----
From: Gray Jonathan-AJG003C [mailto:ajg003c@email.mot.com]
Sent: 27 July 2000 08:35
To: www-html@w3.org
Subject: pt and px



Can someone help me with the difference between px and pt. I am using style
sheets and it appears that px - pixels and pt points. 

They are not the same ? 

Cheers !

Any suggestions on the use of a java script font resizer would also be
apreciated. !

Received on Thursday, 27 July 2000 04:49:25 UTC