Posted by Craig Taylor on 12/07/06 16:12
I'm dynamically creating a table in JS based upon an Ajax response. As
part of that response I'm wanting to "row"-a-size it so that
alternating light and dark columns show up.
My JS extract to assign the css is as follows:
(just added td cell )
elem.setAttribute( "class", "cssClassName" );
And in the css I have the appropriate class definitions for (in this
case "dark" and "light" (td.light, td.dark) ).
This works in FireFox just fine and IE renders the cells appropriately
but is ignoring the setting of the class attribute.
Any thoughts?
- Craig Taylor
Navigation:
[Reply to this message]
|