I have css classes that will automatic get names from a jquery script:
so it will be like #imgHere01, #imgHere22, #imgHereSomething, #imgHereAnother, etc.
Can I force CSS to control all of them?
Like
#imgHere_ALL {width:333px;}
or #imgHere_xxx so it will affect everyclass will be generated after imgHere.
I dont know if it is possible with CSS.
Maybe jQuery?
Use CSS regular expression selector:
This will select all
divs that have an ID beginning with “imgHere”. But as suggested, a better practice is to give all the elements a common class name.