Many Pies

Many Pies

Tuesday, January 13, 2009

Large fonts on NetCommunity pages

If you have created a Blackbaud NetCommunity page which for some strange reason is displaying large fonts, even though you have a stylesheet in place which should set the font size, it could be because your template doesn't have DOCTYPE set to XHTML 1.0 Transitional.

And the reason why? No DOCTYPE puts your browser into "quirks" mode which means that fonts inside tables don't inherit font size.

Update: I had a similar problem with styles not working, in this case the colour being ignored. After a while I tracked down the "problem" to the fact that I had 
<font color=#0000ff>
before the text. Doh!
Post a Comment