[ACCEPTED]-Is it possible to set css properties by id prefix?-css
Accepted answer
Using the CSS3 attribute-starts-with selector:
div[id^="obj_"] {
background: #000
}
This will work 1 in all modern browsers.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.