Minor - nested emphasis in themes.inc.php Minor - nested emphasis in themes.inc.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Minor - nested emphasis in themes.inc.php

Started by kaptainkory, August 02, 2005, 02:56:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kaptainkory

In themes.inc.php, FIND (line 242):

                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>

REPLACE WITH:

                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>

This change avoids a nested emphasis warning.


donnoman

That must be a tidy warning, because that code is valid XHTML.

I did look at trying to clean that up a while back, but it happens all over the place, it's inherited from the orignal codebase and it's throughout user supported themes as well.

In addition it also requires changes to every style.css if you want to maintain the same look and feel, so I had decided to leave it as-is.

Joachim Müller

I agree with donnoman: with the <b> tag being on the list of tags that are suppossed to vanish anyway, let's do this in the next version. I moved this thread from "CPG 1.4 Testing/Bugs" to "Feature requests: Scheduled for cpg1.5.x"