PX or PT {tis all good ya}
Moderator: General Moderators
PX or PT {tis all good ya}
Do you use PX or PT when setting the font sizes in your CSS.... and why?
EDIT: The best answer wins the soggy cookie that's just broke and plopped in to my coffee.
EDIT: The best answer wins the soggy cookie that's just broke and plopped in to my coffee.
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
I don't use either, I use the relative font sizes (at the moment x-small, small, medium et.al but I want to move to em) because the absolute font sizes cannot be resized in IE via the browser. This means that absolute font sizes are a total no no because of accessibilty reasons. I should add that this is an IE and older browser problem, Moz Firebird can happily resize fonts set in either absolute or relative units.
Mac
Mac
i don't use either. i wanted to find something like the size =1 and size=-1 in the font tag that used to be in html that would be relative. after talking to someone that knows css better i found out the solution:EM however, that's not entirely true. while it's relative you can't do negative. when i mentioned that i was told that a change .2 is about the same as 1 in the size, thus is about the same as and is about
Code: Select all
font-size:.8emCode: Select all
<font size="-1">Code: Select all
font-size:1.2emCode: Select all
<font size="+1">-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
px is the most logic to me.... however better praxis is to use relative fontsizes for people who can't see very good.... so
is what I normally use
Code: Select all
size="-2"this is the same reason i like the relative sizes. in my family i am the only person who doesn't use glasses. my sister and mother need them to drive. my father toread. thus the issue of being able to resize through your browser is something i am quite aware of. i design pages to look best in medium (12 point) but to allow the user to modify. as i said earlier, i was annoyed that css did not have a +1/-1 way to do it until i was told the trick with em. thus em is the best way to go consider .2 to be the rough equivalent of the html tag +1/-1cybaf wrote:px is the most logic to me.... however better praxis is to use relative fontsizes for people who can't see very good.... sois what I normally useCode: Select all
size="-2"
therefore:
css em | html's font tag
0.2 | -4
0.4 | -3
0.6 | -2
0.8 | -1
1.0 |
1.2 | +1
1.4 | +2
1.6 | +3
1.8 | +4
and so on
