This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm running Mozilla FireFox 0.9.1. It doesn't always (or ever?) show code blocks in monofont. Same pages look perfect in IE. One time it was wrong and refresh made it right. Yikes.
Looking at page source I saw a blockquote around the code, I suppose to indent it nicely. The blockquote specifies a font. The preformatted section inside the blockquote specifies a font size but not a font. I guess the pre section is picking up the font of the blockquote?
Lemme know if you cannot duplicate. I can send screen shots or something. Thanks!!
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I've observed this same problem from both Mozilla (1.4-1.7) and Firefox (0.6-0.9) on Windows (2000 Pro and XP Home). IE and Opera consistently use monofont when in [code] tags, but Mozilla and Firefox sometimes revert to proportional font. I investigated a bit in the past, and the problem seemed to be due to the fact that in some situations, UBB generates invalid HTML for code tags. It tries to stretch a <font> tag across multiple blocks (e.g. paragraphs). I think. Don't really remember right now; I know I was going cross-eyed trying to sort ot all out, because sometimes the HTML is OK, and sometimes it's not. In the case of invalid HTML, Opera and IE interpret it one way, and Mozilla and Firefox interpret it another. That's my guess at least. [ August 10, 2004: Message edited by: Jim Yingst ]