1
jdseymour
Styles class odd and even in IE

I am using a color modified version of 7Dana round theme.

I have set up the style.css to .even background to silver, and .odd background to transparent.

This shows perfectly in Firefox, my browser of choice. When I view my site in IE6 all shows one color.

Is odd and even classes IE compatible?

And if so what am I doing wrong. I use Topstyle Pro for editing css.

2
ackbarr
Re: Styles class odd and even in IE

IE will not apply background color styles to a tr (or more likely do not cascade them to the td tags inside) try adding a new rule to your stylesheet:

old styles
.odd {/* your .odd CSS rules */}
.
even {/* your .even CSS rules */}


new styles
.oddtr.odd td {/* your .odd CSS rules */}
.
eventr.even td {/* your .even CSS rules */}

3
jdseymour
Re: Styles class odd and even in IE

Thanks ackbarr, that works perfectly.

I always thought mozilla would be the tricky one, but I am finding IE to be a problem quite a bit.

4
brash
Re: Styles class odd and even in IE
  • 2004/11/29 23:31

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


IE is the spawn of the devil, it's just that it is by far the most popular browser .

Login

Who's Online

246 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits