Web 2.0 Style Tips

Brock posted this code in another thread, thanks to you.

If you want to change the default gray color for the odd rows (WebListbox) you can add

<style>
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}
</style>

for even rows

<style>
.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.05);
}
</style>

You just need to change the rgba values to what you need.

You can set both to the same values if you don’t want the alternate colors.