Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Is the font smaller?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Is the font smaller?
Authored by: davew135 on Feb 12, '03 05:56:52PM

I noticed this and sent an email about it. Rob and I corresponded a few times in regards to this and were unable to determine what has changed that would cause it. Does anybody know what could have changed?

[ Reply to This | # ]
Is the font smaller?
Authored by: cosmid on Feb 12, '03 06:47:56PM

I just compared the stylesheets and the old site specifies font sizes relative to your default font size in your browser prefs (eg small, medium etc) whereas the new site specifies the font size in pixels. I think it's usually considered better practise to use relative font sizes.

Good job on the new site, it's looking good :)

[ Reply to This | # ]
Relative vs. precise
Authored by: robg on Feb 12, '03 06:51:55PM

I'm going to have to rework the style sheet, which is going to take some time. The old one was a "smart" stylesheet that read your browser's name and then tried to make intelligent decisions about which size fonts to use ("small", "smaller", etc.). The new stylesheet is a straight CSS file with no logic built in; I will try to add the logic engine to it this weekend, as that will sort of provide the "best of both worlds."

Without the engine, the relative sizing leads to awful results -- what looks good as "smaller" in one browser seems microscopic in another.

No promises, but I'll try...


[ Reply to This | # ]