[TYPO3-english] line breaks after menu items

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


On 02.12.2010 20:37, Christopher Torgalson wrote:
> Hi,
>
> On Thu, Dec 2, 2010 at 11:26 AM, "Christian Müller (Kitsunet)"
> <christian at kitsunet.de>  wrote:
>> 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...
>
>
> You don't need to eliminate whitespace to deal with that bug. The 'li
> a height: 1%;' fix [1] delivered only to the relevant browser  has
> never failed me that I recall :)
>

Agree on that fix.

He wants to ADD whitespace not eliminate it, so I am really lost on what 
that should help.



More information about the TYPO3-english mailing list