Cagez
April 22nd, 2003, 15:57
I'm working with someone who says that in CSS, you should define font-sizes as percentages, I've never done this before and never seen anyone else do it so I was wondering if I should start using percentages?
I usually use xx-small, small etc as my sizes so browsers can make them bigger if the user wants (like in IE->View->Text Size), if I use pt or px they can't.
Anyway, here is an example of what I mean:
.thisfont {
font-size: 80%;
}
.thisfont {
font-size: x-small;
}
So, which should I use? Its not that I don't believe the guy, just want to back it up ;) :p
I usually use xx-small, small etc as my sizes so browsers can make them bigger if the user wants (like in IE->View->Text Size), if I use pt or px they can't.
Anyway, here is an example of what I mean:
.thisfont {
font-size: 80%;
}
.thisfont {
font-size: x-small;
}
So, which should I use? Its not that I don't believe the guy, just want to back it up ;) :p