CSS-d,

I have a <div>, <ul>, and <span> tags set up like this:

<div id="test">
<span>I don't want this seen</span>
<ul>
<li>a list thing</li>
</ul>
</div>

My CSS declares:
#test span {
display: none
}

What I want is for the <ul> list to show, but not the text inside the 
<span> tags.

But instead what happens is that everything inside the <div> does not 
display.

Shouldn't the CSS apply to within the <span> tag, and leave the <ul> 
tag, which comes after the closing </span>, alone?

-- 
Dave M G
Ubuntu 7.04 Feisty Fawn
Kernel 2.6.20-15-generic
Pentium D Dual Core Processor

______________________________________________________________________
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/

Reply via email to