[TYPO3] hide div for unused "Content Elements"?

Christopher Torgalson bedlamhotel at gmail.com
Thu Jan 18 22:45:06 CET 2007


Hi,

On 1/18/07, Asbjørn Morell <atmorell at gmail.com> wrote:
> Hi.
>
> I have mapped 3 columns with Templavoila. How do I hide/remove the div/class
> if it is empty? I have created a black border on my right, middle and left
> content areas (div). And I don't want to display that border if the content
> area is unused.


Change the mapping mode to 'outer' and the empty div element will not
show unless it contains content.

-- 
Christopher Torgalson


More information about the TYPO3-english mailing list