[TYPO3] Setting the Height for the Sub Menu through Typoscript if the submenu item is Blank.

Xavier Perseguers typo3 at perseguers.ch
Wed Sep 3 09:34:56 CEST 2008


Hello,

> I have created menus & submenus in my site.
> 
> eg :- My menu appears as follows : Main Menu is upper side and Sub Menu is
> under main menu.
>  
> 
> Main Menu :  HOME | Service | Product
> 
> Sub Menu  :    About US | Contact Us
>  
> 
> The problem is that When the submenu item is present for Main menu then the
> height is coming properly, But when the submenu item is blank for main menu
> then the height is going down as original ones. So, How we can setup height
> in the Typoscript. We can put the  . 

This is certainly a CSS problem and this list is not the best place to 
discuss it

>       IFSUB {
> 
>                 ATagTitle.field = subtitle//title
> 
>                 wrapItemAndSub = <li class="drop"> | </li>
> 
>                 allWrap = | <![endif]--><!--[if lte IE
> 7]><table><tr><td><![endif]-->

You should consider avoiding table for menus (even if the rest is 
"good") as it does not degrade well for accessibility.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-english mailing list