Font Annoyance

Posted: September 2, 2008 in Uncategorized

Issue:
While doing a little copying/pasting with some modifications of ColdFusion pages with HTML output, I could not figure out what was causing my fonts to go all screwy. The font for that page was showing up almost twice as big than what it was supposed to be! This issue was found in Internet Explorer 7, while FireFox 3 was showing properly, making it all that more difficult to diagnose.

Resolution:
I was including a ColdFusion page as an event handler before anything else, including the pages head section. What I found was a “<!— blah —>” being inserted as the first thing in the HTML code. Using the process of¬†elimination, I silenced the output and TA-DA!

Conclusion:
Don’t put HTML comments before the head section!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s