[TYPO3-dev] Harmful code
Franz Holzinger
franz at fholzinger.com
Thu Apr 6 19:56:27 CEST 2006
Hello
>
> The complete line ( style="text-align: center; vertical-align: middle;"
> vspace="5" hspace="1" border="0" ) could be replaced by a simple class
> to make skinning much easier for all of us,...
>
> what do you think,...
>
I think that even a class name should not be hardcoded here. This is
because if someone has already written a stylesheet file for another
homepage then he wants to reuse this for TYPO3 without any needs to
replace all the classnames in his file.
There could be a class translation XML file like now language XML files
exist already. So if someone wants to reuse his stylesheet file with
TYPO3 then he has to write a class translation XML file where the
corresponding class names are listed. If it does not exist there then a
hardcoded class name can be used.
- Franz
More information about the TYPO3-dev
mailing list