[Typo3] Typo3 Rendering Junk Code?

A-san amir219 at sbcglobal.net
Sat Nov 12 18:22:01 CET 2005


Hey guys,

I have been wondering lately, why does Typo3 render unnecessary bits of 
code throughout the page?  I have noticed that the space between the 
header of a content element and the content is very big, and thats 
partly because of the unnecessary <br> tags along with some other space 
divs that Typo3 is entering in there.

Here is the code:
	
<!--  CONTENT ELEMENT, uid:163/text [begin] -->

		<a name="163"></a>
		<!--  Header: [begin] -->
			<div class="csc-header csc-header-n3"><h3>Want to Help?</h3><br 
/><img src="clear.gif" width="1" height="5" border="0" 
class="spacer-gif" alt="" title="" /><br /></div>
		<!--  Header: [end] -->
			
		<!--  Text: [begin] -->
			<p class="bodytext">If you are interested in helping with our site, 
simply visit <a href="60/" target="page">this page </a>and read over our 
open positions, its requirements and responsibilities.&nbsp; Feel free 
to contact us!</p>

		<!--  Text: [end] -->
			
<!--  CONTENT ELEMENT, uid:163/text [end] -->

Why is there a "<br /><img src="clear.gif" width="1" height="5" 
border="0" class="spacer-gif" alt="" title="" /><br />" after the header 
  text?  How can I disable this?



More information about the TYPO3-english mailing list