[thelist] CSS selectors

Hassan Schroeder hassan at webtuitive.com
Thu May 27 14:39:44 CDT 2004


Marcus Andersson wrote:

>  <div class="nodeContainer leaf">...</div>
> 
> and another div like
> 
> <div class="nodeContainer leaf last">...</div>

> /* The following selector is wrong but I wonder how I can (if possible) 
> do it */
> div.tree div.leaf&&last {

div.tree div[class~="leaf"][class~="last"] {
	/* whatever */
}

Works in Moz, at least :-)

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.




More information about the thelist mailing list