background color for td

Forums » Dev.Opera » General Web Development Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

3. May 2010, 20:16:31

pedzsan

Posts: 2

background color for td

I have:

.normal.rowodd td { background-color: #e0e0e0; }

I've tried

tr.normal.rowodd td { background-color: #e0e0e0; }

and

.normal.rowodd { background-color: #e0e0e0; }

None of those work in Opera so I get the background of the page.

I'm running Opera 10.10 on a Mac 10.6. All of those work as desired in FF 3.5.

The tr has class='normal pmr-row rowodd' -- there are other rows with roweven. And some rows, instead of normal have a different class -- 'updated' I believe.

This looks right according to the CSS 3 selector doc but I may be confused... So, I thought you guys could help.

Thanks,
Perry

.normal.rowodd td { background-color: #e0e0e0; }
.normal.rowodd td { background-color: #e0e0e0; }

3. May 2010, 20:31:23

pedzsan

Posts: 2

Never mind... my javascript is dying somewhere and so the even / odd is not getting done.

(I'm a little behind how to debug on Opera -- sorry.)

Forums » Dev.Opera » General Web Development Discussions