[Typo3] class.tslib_pibase.php - removing <div>-tags around pagebrowser

Christopher tombedlam at yahoo.com
Tue Feb 15 22:40:43 CET 2005


Hi there,

--- Arne Metzger <webmaster at shjjv.de> wrote:

> hi list!
> 
> i am having a problem while getting my site to generate valid xhtml.
> on the frontpage, tt_news2.0.3 is used (code: latest) to show some
> entries.
> all code is valid, but the pagebrowser. it is placed in a <td> and 
> wrapped with <div class="tx-ttnews-browsebox">:
> 
> <td colspan="3" align="center"><font 
> style="font-family:arial,verdana,helvetica;font-size:14px;"><font 
> color="#004263"><!----><!---->
> 
> 		<!--
> 			List browsing box:
> 		-->
> 		<div class="tx-ttnews-browsebox">
> 
> 			<table cellpadding="2">
> 
> what can i do to get this little part to be valid xhtml?
> the w3c-validator wont like those <div>-tags there...
> 


Well, the code is bloated, but what would the validator find wrong
about a table (block-level element) inside a div (block-level element)?

-Christopher


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail



More information about the TYPO3-english mailing list