[TYPO3-english] menu items

Dayle Rees dre at llgc.org.uk
Wed Feb 2 14:41:54 CET 2011


On 02/02/11 13:29, Cecilie Andersen wrote:
> Great it works - but is there a way I can set the height on the " | " 
> character as if by now just fits the height of the rest of the text, 
> and I want it to be higher.
>
> Regards
> Cecilie
>
> "Dayle Rees" <dre at llgc.org.uk> skrev i meddelelsen 
> news:mailman.8929.1296652392.648.typo3-english at lists.typo3.org...
>> On 02/02/11 13:06, Cecilie Andersen wrote:
>>> I am looking for a way making a " | " character between each menu item.
>>> My typoscript looks like - but is there a way I can add it there ?
>>>
>>> lib.field_topmenu = HMENU
>>> lib.field_topmenu.excludeUidList = 7,6,23,22
>>> lib.field_topmenu.entryLevel = 0
>>> lib.field_topmenu.1 = TMENU
>>> lib.field_topmenu.1 {
>>> NO.allWrap = <SPAN class="menutop-level1-no"> | </SPAN>
>>> ACT = 1
>>> ACT.allWrap = <SPAN class="menutop-level1-act"> | </SPAN>
>>>
>>> Regards
>>> Cecilie _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>> Use the vertical bar HTML entity, as opposed to the actual character, 
>> the entity is : &#124;  or ( (ampersand hash 1 2 3)   :)
>>
>> Dayle. 
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
The fixed character height is actually controlled by the font. You could 
wrap the pipe entity in an element and style it with CSS ( increase font 
size) or use an image. Or alternatively take a look at the list of HTML 
entities for a suitable alternative : 
http://www.elizabethcastro.com/html/extras/entities.html

Best of luck :)



More information about the TYPO3-english mailing list