[TYPO3] Dania Christain

mohammad farooq farooq at srijan.in
Tue Sep 2 11:51:58 CEST 2008


Hi Diana,

This is a issue often faced, since there is same CSS being applied to all
menu items, that is why border/bas is appearing on both sides of menu, what
is needed is to give class to first and last items of menu and specifying
style for them, even class at first or last will do.
I do it this way,
.
lib.mainMenu=HMENU
lib.mainMenu.1=TMENU
lib.mainMenu.1{
      wrap=<ul> | </ul>
        NO.allWrap=<li class="first">|</li> | * |  <li class="last">|</li>
             }

whatever way you make menu, wrapping menu items will do away your issue.

wrap=<ul> | </ul>
NO.allWrap=<li class="first">|</li> | * |  <li class="last">|</li>

this will place class "first" on begining and "last" on ending item, and all
between intact.
and remove unwanted list style by, "list-style-type:none;"

Yet if  problem persists, do let me know at farooq at srijan.in


-- 
Thanks and Regards,
Muhammad Farooq,
New Delhi India


More information about the TYPO3-english mailing list