[TYPO3] How to get rid of wrapping DIV when integrating an extension

Dmitry Dulepov typo3 at fm-world.ru
Wed Dec 28 08:44:33 CET 2005


Tadej Bregar wrote:
> So I don't want <div class="tx-macinasearchbox-pi1"> in HTML output.
> Reason?  1. I want clean html output without unnecessary code

It is generally good to have it because you may want to style it later.

>  2. The Graphic (template) designer supplies me with xhtml compliant
> template where all the styling is contained in one external CSS file.
> She doesn't know anything about class="tx-macinasearchbox-pi1", for
> instance.

So, what is the problem with it? If no styles set for it, it simply will
not be styled.

> What should I do?
> Should I hack the CSS styles and html template? Is there a better way to
> do this?

Just do nothing. As I understood you do not want any specific styling
for this DIV. Just leave it as is, unstyled.


More information about the TYPO3-english mailing list