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

Jigal van Hemert jigal at xs4all.nl
Sun Mar 28 08:30:16 CEST 2010


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.


More information about the TYPO3-english mailing list