Thread: Font sizes in CSS
Results 1 to 5 of 5
10-08-2002, 02:14 PM #1
Font sizes in CSS
Yes, I am confused. I am trying to put in some more css and my font sizes will not come out the way I want them to. I used to code
<font face="verdana" size="2pt">whatever</font>.
In css, I did:
font-family: verdana, tahoma, helvitca;
assuming that the font size would be the same if I were to code
When I use the class, I get a microscopic font size. What did I do wrong?
10-08-2002, 03:13 PM #2
10-10-2002, 04:14 PM #3
Thank you - but now I am somewhat more confused. I was under the impression that in HTML, it is best to use
as opposed to
I had read this somewhere. The reason for it is that from os to os, the point or pixels would turn out at the same size where as without that notation, it may not be the same from os to os.
Is this not accurate? or am I wasting my time in html putting 2pt.
And does this also mean that there is still a difference in the "2pt" from CSS to HTML?
10-10-2002, 05:16 PM #4
10-18-2002, 11:20 AM #5
Yep he's right and I shouldn't use <FONT> you can use <P STYLE=""> instead. It loads faster.
For example: <FONT FACE="2pt"> to <P STYLE="font-size:11pt">. Or you can use classes. Ah what the hell I'm talking weird **** again...