Hi, is there a way to combine CSS2 Attribute Selectors like tr[id^="foo" AND id$="bar"]
, so it selects all <tr id="foo_something_bar">
but not <tr id="foo_something">
or <tr id="something_bar">
views:
38answers:
1
+6
A:
The same way you combine any selectors.
tr[id^="foo"][id$="bar"]
Those two substring matching selectors, however, are being introduced in the CSS 3 draft. They are not CSS 2.
David Dorward
2010-05-31 08:31:25
Oh, I did not see the forest for the trees. Thank you!
2010-05-31 08:36:59