[TYPO3-dev] Harmful code

Tapio Markula tapio.markula at dnainternet.net
Thu Apr 6 14:06:18 CEST 2006


Hi

I would be nice to get rid of this kind of code
	// "New" and "Paste" icon:
						$newIcon = 
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/new_el.gif','').' 
style="text-align: center; vertical-align: middle;" vspace="5" 
hspace="1" border="0" title="'.$LANG->getLL ('createnewrecord').'" 
alt="" />';
						

That is from TemplaVoila 0.6.
Style attributes are really harmfull for skinning.
Should be used classes for external CSS-files.

skin-images can set height and with but harmful extra code remains.




More information about the TYPO3-dev mailing list