LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-02-2005, 02:59 AM   #1
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
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>
<BODY bgcolor="#FFFFFF" VLINK="#OOOOFF" ALINK="#FFOOOO">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<TITLE>Linux @ OneAndOneIs2</title>
<P><IMG SRC="http://linux.oneandoneis2.org/tux.png"><IMG SRC="http://www.oneandoneis2.org/Pix/1+1=2.png">
<H1>Linux @ OneAndOneIs2</H1>
<FONT SIZE=2><P>(The geeky stuff)</FONT>

<P>I first became. . .
And here's a sample of my news page, plus the HTML:
Abnormal
Code:
HTML>
<meta http-equiv="refresh" content="600">
<BODY bgcolor="#FFFFFF" VLINK="#OOOOFF" ALINK="#FFOOOO">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<TITLE>News</title>
<TABLE border=0 width=100%>

<TR><TD colspan=2>. . .
As you can see, nothing whatsoever relating to fonts in either. The fonts are still the same when viewed from Firefox in Windows, it's only Firefox on my Linux PC that's showing the fonts weirdly, and only on this one page.

Any ideas what's causing this?
 
Old 08-02-2005, 03:54 AM   #2
PeterRJG
Member
 
Registered: Jun 2005
Location: Northern NSW, Australia
Distribution: Distro Astro 1.02, Windows 7
Posts: 123

Rep: Reputation: 15
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.
 
Old 08-02-2005, 04:10 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Original Poster
Rep: Reputation: 46
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?

Last edited by oneandoneis2; 08-02-2005 at 04:12 AM.
 
Old 08-02-2005, 04:13 PM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Original Poster
Rep: Reputation: 46
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??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox weird problem? jmr0311 Mandriva 5 12-05-2005 05:50 PM
firefox weird problem! TranceDude Linux - Software 5 08-17-2005 06:42 AM
Firefox font problem Boow Linux - General 1 01-10-2005 12:11 PM
Firefox font problem Swift&Smart Linux - Software 1 06-21-2004 12:21 AM
Firefox Font problem again Marinefire Linux - Software 0 05-05-2004 07:31 AM


All times are GMT -5. The time now is 06:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration