Hi!
I don't understand for what purpose is the basefont. I've read the descritption on sevaral sites, but I still remains confused.
Dreamweaver has it. +1 +7 -1 -7 But for what?!?!?
[img]images/smilies/confused.gif[/img]
| SitePoint Sponsor |



Hi!
I don't understand for what purpose is the basefont. I've read the descritption on sevaral sites, but I still remains confused.
Dreamweaver has it. +1 +7 -1 -7 But for what?!?!?
[img]images/smilies/confused.gif[/img]
Last edited by magi; Nov 3, 2003 at 06:20.





Basically it sets the default font properties for the page it's placed on...BUT it shouldn't be used anymore, as it's deprecated from HTML 4.0+, so instead CSS should be used:
This is the standards-compliant way of doing itCode:body { font-family: Arial; font-size: 0.8em; color: #000; }
-Sam
Sam Hastings



But is the same as FONT, isn't it?
Anyway... I never used it. Just wondering because Dreamweaver has it.
And you used 'em' instead of 'pixels'. Is better?
[img]images/smilies/smile.gif[/img]



Using em allows the user to resize the font using their browser whereas using pixels doesn't. Might not sound like much of an advantage, but it's really handy for people with vision impairments who perhaps can't read small text.
Regards, Ant.
Bookmarks