On Dec 19, 2007, at 9:54 AM, Jim Davis wrote: > Patrick, > > I created a test page at http://www.jimdavis.org/test/listtest.html > using > your css and my html for the nested lists. > > According to Eric's book, "Cascading Style Sheets 2.0" display: > none "The > element will generate no boxes at all and thus will neither be > displayed nor > impact the layout of the document. Any descendant elements will > also be > prevented from appearing, regardless of the value of display for those > elements." > > So if my understanding of this definition of display: none is > correct then > when ul li ul is set to display: none then it will not be > displayed, nor > will any descendants of ul li ul be displayed. > > It would appear that IE 6 is getting it right and FF is displaying the > nested lists incorrectly. (GASP!!). > > What say the experts on the list?
Your html mark-up is invalid. And what Gecko, WebKit, Opera show is correct, given your mark-up. <http://validator.w3.org/check?uri=http%3A%2F%2Fwww.jimdavis.org% 2Ftest%2Flisttest.html&charset=%28detect+automatically% 29&doctype=Inline&group=0&ss=1> Try this: <http://dev.l-c-n.com/_temp/list.html> Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/