hi, quick question is it possible to have more than two combinators in a selector would this be possible... div>p+span ...how would this be read? a span immediate sibling of p which in turn is a direct child of div??
Yes. Yes, a span who is a (later, not previous) sibling of a p who is the direct child of a div. You gots it. <div> <span>Not this one</span> <p>stuff stuff stuff</p> [b]<span>this span</span>[/b] <p>more stuff...</p> [b]<span>this one too actually</span>[/b] <h3>some header</h3> <span>not this span</span> <div> <span>not this one</span> </div> <p>stuff stuff stuff <span>also not this span</span></p> </div> Code (markup):