Thanks, all. Removed the 'span' and got rid of most errors. Errors now down to 4 from 70+ ! The 4 are because of an embedded swf and I am unable to get rid of them. Any ideas? Thanks in advance. Larry ----- Original Message ----- From: "david" <[EMAIL PROTECTED]> To: "css-d" <css-d@lists.css-discuss.org> Sent: Friday, December 01, 2006 9:52 AM Subject: Re: [css-d] Menu floats down in IE6
> Jehangir Larry wrote: > >> The navigation includes UL's with spans (to accomodate a JS script that >> collapses it.) It involves a nesting order that the validator does not >> seem >> to like! The menu is largish and unless each section auto-closes the >> navigation would be unseemly. >> It runs as follows (offending portion only): >> <li class= "A">Main Item >> <ul> >> <span> >> <li><a href="#" class="linkage">Sub-Item A</a></li> >> <li><a href="#" class="linkage">Sub-Item B</a></li> >> <li><a href="#" class="linkage">Sub-Item C</a></li> >> </span> >> </ul> >> </li> >> Thanks in advance. > > SPAN is not a block element, therefore cannot be used to contain block > elements like list items. Also, you can only follow an opening list tag > with an opening list item tag - everything inside a list has to be > inside a list item tag. > > Your JS should be able to collapse the entire list without needing the > span ... > >> ----- Original Message ----- >> From: "Roger Roelofs" <[EMAIL PROTECTED]> >> To: "Jehangir Larry" <[EMAIL PROTECTED]> >> Cc: <css-d@lists.css-discuss.org> >> Sent: Thursday, November 30, 2006 9:50 AM >> Subject: Re: [css-d] Menu floats down in IE6 >> >> >> Larry, >> >> On Nov 29, 2006, at 8:56 PM, Jehangir Larry wrote: >> >>> Apologies for posting earlier in HTML. >>> Please see www.indobioagri.com > > -- > David > [EMAIL PROTECTED] > authenticity, honesty, community > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > IE7 information -- http://css-discuss.incutio.com/?page=IE7 > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/