[TYPO3-english] css_styled_content extension is not rendering pages correctly

Dave Kennedy davek1802 at gmail.com
Sun Mar 28 19:33:21 CEST 2010


Hi,
Thanks for explaining how tidy functions.
What do I need to do to get tidy to correct the pages on the new server?
Tidy is enabled in PHP and on the server tidy: /opt/tidy/bin/tidy
but is not processing the pages.
Thanks

On Sat, Mar 27, 2010 at 11:30 PM, Jigal van Hemert <jigal at xs4all.nl> wrote:

> Dave Kennedy wrote:
>
>> Situation:
>> Site was tarred and copied to a different server
>> MySql database was dumped and restored on this server.
>>
>> Now the pages are not rendering correctly
>> Compare correct version
>> http://bbd.ca/planadvisors.html
>> with this
>> http://www.dksy.net/bbd/typo3-dummy/planadvisors.html
>>
>
> The HTML template for the site has errors in them, which on the old server
> were corrected by tidy in such a way that the pages looked good in the
> browser.
>
> Without tidy:
> -------------------------
>  <!--###navcontainer### end --></div>
>  <!--###topmenu### end --></div>
> <!-- end of header -->
>    </td>
>   </tr>
>  </table>
>  <tr>
>    <td VALIGN="top" ALIGN="left">
>    <BR>
>    <tr>
>       <td colspan="2">
> -------------------------
>
> with tidy:
> -------------------------
>            </ul><!--###navcontainer### end -->
>          </div><!--###topmenu### end -->
>        </div><!-- end of header -->
>      </td>
>    </tr>
>  </table>
>
>  <table>
>    <tr>
>      <td valign="top" align="left"><br></td>
>    </tr>
>
>    <tr>
>      <td colspan="2"></td>
> -------------------------
>
> Tidy added a <table> tag, closed the </td> and </tr> in the second table,
> etc. These are just a few lines from the page...
>
> Nothing to do with css_styled_content or automaketemplate. Just a matter of
> "garbage in, garbage out". Fix the HTML template and see if that helps.
> Maybe the TypoScript configuration is also full of HTML errors, who knows?
> It looks like someone used the trial-and-error method to build the site and
> messed around until tidy managed to produce something which looked like they
> wanted it to look :-(
>
> --
> Jigal van Hemert.
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list