PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Anyone know CSS?

I mean, really well? I'm trying to make PocketGamer more FireFox compatible but a bug is giving me hell.

On the front page, the titles of news items appear really small - but in IE they seem fine. The validator says the CSS is OK, and I'm completely stumped.

This is the HTML that generates the titles:

Code:
<p class="heading" align="left"><b>USB joystick driver available</b></p>


And this is the CSS responsible for that chunk:

Code:
.heading { font-size: 18pt; font-family: 'Trebuchet MS', Arial, Helvetica, Sans-Serif; }


It works fine in IE, but FireFox and Mozilla sulk. Anyone got any suggestions?
I had a poke. It's not a CSS problem.

You have an unclosed:
Code:

<font size='1'>


tag here:

Code:
<a name="Top"></a>
&gt;
<p class='small'>
<font size='1'>
<a href='/whatsnew/index.php' target='_self'>Releases & updates</a>:


If you close the font tag at the end of the p block then it works for me in Firefox.
If you're using Dreamweaver:
1. Try validating the site by going to results under one of the menus then validation. It should be able to fix it.
2. Post this in the Dreamweaver forums. (www.dreamweaver.com)
refractor wrote:I had a poke. It's not a CSS problem.

You have an unclosed:
Code:

<font size='1'>


tag here:

Code:
<a name="Top"></a>
&gt;
<p class='small'>
<font size='1'>
<a href='/whatsnew/index.php' target='_self'>Releases & updates</a>:


If you close the font tag at the end of the p block then it works for me in Firefox.


Thanks, Refractor - that's fixed it. I've also sorted some of the other bugs in the site causing FireFox to render incorrectly.

Blur - the site is generated on the fly dynamically, and I don't think any of the code has even seen a WYSIWYG editor. EditPlus2 will do just fine. The front page references so many other files it took 30 minutes to track down that tiny chunk of HTML...