The way to get all of the items to randomize together would be to give them all the same group class - say, group1. If you need to have different classes for the background colors within group1, the divisions in group1 can have additional classes for their background colors:
Code:
<style type="text/css">
.group1 {
visibility: hidden;
}
.c1 {
background-color:red;
}
.c2 {
background-color:green;
}
</style>
HTML Code:
<div class="group1 c1">
for items in group1 that also have color styling defined by the class selector "c1" and:
HTML Code:
<div class="group1 c2">
for items in group1 that also have color styling defined by the class selector "c2".
Bookmarks