Question
I am working on a .css file and noticed that fonts come in pt and px. I want to change my font sizes for some of my fields, but some of them are in that px format and I don't have a clue what that means. In fact, I know next to nothing about .css, I just am trying to change some font sizes. Here's an example:
.subtitle,h2{font:bold 18px/180% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
text-decoration:none}
How does px equate to pt? Or does it? Is there a formula?
Thanks in advance and Happy Friday to everyone!!!
Marjie
Answer
px is pixels, as in screen/printer resolution.
pt is points, as in typography measurements--documents created by photography and offset press printing.
The correlation between them will depend on the monitor the viewer is using but, in general, a screen is 72 pixels/inch.
There are 72.27 points/inch.
Answer
Thank you Jayne. I'll try to comprehend that a little more before I go mucking around any further. I think right now I've got it so that you could see my text from two blocks away.
Have a GREAT weekend,
Marjie