But if I compare the font size it doesn’t seems to be the same.
I think it’s because i use px in the second css code.
I’d like to know how much pixels is font size=2 ?
yeah I dont think there is a comparison… and it seems css sizes are much more flaky cross-platform/broser than html font sizes. So what could be the same on one browser on one OS may not be the same on another browser on another OS. I try to stick to font tags when possible.
but there are a lot of units you can play with in style sheets too… theres percent, inches, centimeters, em’s, ex’s, points, picas, and pixels (I think thats most if not all of them). I personally use pixels - just because I know them better in the bitmap world (I don’t know how accurately they’re represented). But I guess you can just play with them and see for yourself.