Wednesday, December 24, 2008

IE gotcha - does not render row colors

My dynamic table rendered by an AJAX call had alternating row colors - which as expected rendered beautifully in all the major browsers ( except IE of course ). 

The row looked like this tr bgcolor="#EFEFEF"

I had to push the bgcolor into an inline style and then IE started showing the row color.

tr style="background-color:#EFEFEF"

Hope my IE posts get over, because to find every IE gotcha I spend quite a fair amount of my time. 

No comments:

Post a Comment