[TYPO3-english] line breaks after menu items

Christopher Torgalson bedlamhotel at gmail.com
Thu Dec 2 20:51:28 CET 2010


Hi,

On Thu, Dec 2, 2010 at 11:40 AM, "Christian Müller (Kitsunet)"
<christian at kitsunet.de> wrote:
> 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.


Oh, you're right. Once again, my reading comprehension gets called
into question :)

In that case, he could use Tidy via Install Tool or extension...

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list