[Typo3-dev] TYPO3 and XHTML
Sven Wilhelm
wilhelm at icecrash.com
Mon May 9 17:55:51 CEST 2005
Hi,
> <img src="${source}" ${attribute('height',$height)} />
>
> attribute would be a function, which checks the currently selected
> doctype and returns the appropriate attribute string or something
> empty.
> This function needs to know about allowed (disallowed) attributes for
> this doctype, too, so it's a little bit tricky imho. :)
on the oo-way it could be a nice class img.
no hacks but a clean reusable way.
cheers
More information about the TYPO3-dev
mailing list