How to delete csc-default and id tag in TYPO3 4.3 revisited
TYPO3 4.3 adds div's and classes which are not always wanted. The most suggested solution is:
If we get rid of that by:
we get rid of the css-default id's and classes
but there are disadvantages to this methode, as we lose some of the nice features of using 'frame', the possibility to wrap content in classes or id's by choice.
If we use 'frame', I noticed the css-default is replaced with the class or id chosen, as expected.
This is also the solution to our problem: wrap with nothing! and thus remove the css-default.
I don't know whether it is allowed to wrap something with 'nothing' so I wrapped the content with 'the next best' 'nothing': a html comment.
In the TSConfig of the websites rootpage we add the following:
Now we only have to modify the TS template:
Add comment