Click to See Complete Forum and Search --> : whats this syntax ?


manishrathi
09-03-2009, 02:53 PM
To apply a class we need "."
I have a syntax as ".bb_content #title[id]" what does thie mean ?
.bb_content is the class, then what does suffix #title[id] do ?

cfajohnson
09-06-2009, 04:27 PM
E[foo] Matches any E element with the "foo" attribute set (whatever the value).

See: http://www.w3.org/TR/CSS21/selector.html#pattern-matching