Thread: Font sizes in CSS
Results 1 to 5 of 5
Related
-
to or not to specify font sizes Forum: HTML Forum
Replies: 1 -
Font Size/Font Face Forum: CSS Forum
Replies: 4 -
Font Size/Font Face Forum: HTML Forum
Replies: 2 -
Printing pages with different font-sizes Forum: HTML Forum
Replies: 5 -
Changin primary and secondary font sizes?? Forum: CSS Forum
Replies: 2
-
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.small {
font-family: verdana, tahoma, helvitca;
font-weight: bold;
font-size: 2pt}
assuming that the font size would be the same if I were to code
<font class="small">whatever</font>
When I use the class, I get a microscopic font size. What did I do wrong?
-
10-08-2002, 03:13 PM #2
font size="2" and 2pt in css are much different. For a verdana font try 10 pt or 11 pt, that should be close to a font size="2" in HTML
Dave
-
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
font size="2pt"
or
font size="2px"
as opposed to
font size="2"
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
You are useing CSS so, all you need to do is increase the size you have.
change
font-size: 2pt
to
font-size: 10pt ...or 11
-
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...
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum