As I say it depends upon the browser. It also depends to a degree upon the 'luck of the draw'. How you code the colors is also important. At first I tried a dual class name approach:
Code:
<style type="text/css">
.group1 {
visibility: hidden;
background-color: red;
}
.green {
background-color: green!important;
}
</style>
with markup like:
Code:
<div class="group1">
Content 2
</div>
and for green (dual class highlighted):
Code:
<div class="group1 green"
>
Content 2
</div>
In that case, the colors never changed, though the content did. Then I tried a slightly different approach for the green ones:
Code:
<div class="group1">
<div class="green">
Content 2
</div>
</div>
Now the colors went with their content. Randomness appeared more genuine in IE, but FF looked fairly random as well.
Bookmarks