Dave M G wrote: > Roger , > > Thank you for responding. >> I'm betting something else is wrong. > You were right. I was cleaning up my code in order to upload it so that > you could see it, and in doing so, I gained more insight to the problem. > > I hadn't accurately described my code. My code actually looks like this: > > <div id="test"> > <span>I don't want this seen</span> > <ul> > <li><span>a list thing</span></li> > </ul> > </div> > > So the CSS seems to have been going from the initial <span> all the way > through to the </span> in the last <li> tag. Knowing this, I can control > the problem. > > This still strikes me as odd, however. Shouldn't the CSS that is applied > to a <span> stop at the first instance of a closing </span> tag, not the > outermost one?
I'd think it would, but a <span> is not a block element. It is usually contained IN a block element, such as a paragraph. What happens if you wrap the span in a <p></p> tag and modify your CSS accordingly? -- 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/