[TYPO3-english] line breaks after menu items

"Christian Müller (Kitsunet)" christian at kitsunet.de
Thu Dec 2 20:26:51 CET 2010


On 01.12.2010 10:25, Mario Sargac wrote:
> Hi,
>
> does anyone know how to insert a line break (a newline feed) after each
> TS generated menu item? I have the following situation:
> ------
> lib.qlinks = HMENU
> lib.qlinks {
> 1 = TMENU
> 1 {
> NO.allWrap = <li> | </li>
> noBlur = 1
> }
> }
> ------
>
> Current output is like this:
> <li><a href="#">item 1</a></li><li><a href="#">item 2</a></li>
>
> Is it possible to achieve output like this (in the html source):
> <li><a href="#">item 1</a></li>
> <li><a href="#">item 2</a></li>

Hi,

NO.allStdWrap.noTrimWrap (
|
<li>|</li>
|
)

instead of the allWrap should do the trick, but I don't see why that 
should be needed for IE6 compatibility...

Christian



More information about the TYPO3-english mailing list