Weird Firefox font problem
Amongst other things, I use my webpage to aggregate RSS feeds - courtesy of MagpieRSS. But yesterday, the PHP page went weird: The font shrank.
On every page of my website, I don't define fonts - just leave it up to the browser's default. Every other page still has normal-sized, readable fonts. The only one that's changed is my RSS aggregating PHP page. And I can't find any reason why! Here's a sample of a normal webpage, along with the HTML headers: Normal Code:
<HTML> Abnormal Code:
HTML> Any ideas what's causing this? |
To hazard a guess, it's because you've stated the <FONT> tag in the first example, along with a size. This gives FF a reference.
The second example has no font tag or CSS suggestions, so FF reverts to a default. BTW, <FONT> tags are 1996, time to use CSS. :) |
I know, I know, CSS is on my list of things to learn when I get the time :)
However, while there is a <FONT> in that first page (Which I'd forgotten about, or I'd have picked a different page :) ) there aren't any in the other pages which also render normally. . . And including a <FONT> in the abnormal page didn't fix anything - the font was either the current too-small size or a too-bulky larger font. Not my usual default font, which it always was before yesterday. Odd, huh? |
I just tried something else. I hoped it wouldn't work, but it did: I copied the html source generated by the PHP page & pasted it into an html file.
So, identical source, the only thing that changed was the three-letter extension at the end of the file. Font displays perfectly in the HTML version. The PHP version is still nasty. WTF?? |
All times are GMT -5. The time now is 08:54 AM. |