How can I select elements in CSS by partial ID value?
Not with ID selectors since they require complete ID names, but with substring attribute selectors: div[id^=”as_”] div[id^=”bs_”] But since your elements have a class attribute anyway, why not add a common class to each group of elements and select by that class to make things simpler? You should be able to determine the grouping class … Read more