Style common group of divs in one css statement.
- by Vafello
I have a few divs created dynamically in Javascript.I was wondering if it is possible to style them all at once.
#somediv {
background-color: #F2F5FC;
border-style:solid;
border-bottom:thin dotted #33ccff;
}
#somediv2 {
background-color: #F2F5FC;
border-style:solid;
border-bottom:thin dotted #33ccff;
}
...and so on (this can be even 50 divs)
I would like to change this to something like:
#somediv* {
background-color: #F2F5FC;
border-style:solid;
border-bottom:thin dotted #33ccff;
}