[Typo3] IMAGE without border, width and height statements

Christopher tombedlam at yahoo.com
Sun Apr 24 20:22:56 CEST 2005


Hi,

--- Robert Markula <robert.markula at gmx.net> wrote:
> I use the following simple code to display an image:
> 
> 10 = IMAGE
> 10.file = fileadmin/template/res/banner.jpg
> 
> The problem is that the generated html contains image border, width and 
> height statements:
> 
> <img src="fileadmin/template/res/banner" width="760" height="178" 
> border="0" alt="" title="" />
> 
> How can I get rid of them?
> This problem is mentioned a couple of times in the list archive, but I 
> have not found a clean solution yet. TSref is of no help either.
> 

The 'border' attribute is a problem sometimes, but I believe it is coded
directly in the source. The 'width' and 'height' attributes, on the other
hand, are *required* attributes for img elements in xhtml 1.0/html 4.01
strict/transitional (along with 'alt' and 'src')...

-Christopher

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the TYPO3-english mailing list