[TYPO3] Empty <ul> caused invalid XHTML
    Kesit Barotoardi 
    barotoardi at yahoo.com.sg
       
    Tue Feb  5 08:48:03 CET 2008
    
    
  
Hi friends,
kind of need help here.
I had problem on my Typo3 page due to invalid XHTML transitional.
Failed validation was caused by empty <ul> of my level 2 navigation (there's no subpages under the page which I check for validation).
This is my typoscript for sub navigation:
lib.sub_nav = HMENU
lib.sub_nav.entryLevel = 1
lib.sub_nav.1 = TMENU
lib.sub_nav.1{
        NO = 1
        NO.wrapItemAndSub = <li id="top"> | </li> |*| <li> | </li> |*| <li id="bottom"> | </li>
        
        ACT = 1
           ACT < .NO
            ACT.ATagParams = id="sub_current"
}
Is there anyway to erase the empty <ul>?
Thanks before,
kesit
      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
    
    
More information about the TYPO3-english
mailing list