Is there a way to change the styles of div with ids not included as selectors in the style sheet? I’ve been using document.getElementById(”).style but this can no longer do because the divs are generated on run-time.
this is how i generate the divs. I could already change the left value of the divs because of the style attribute I placed on the divs but is there a better way?
@jamJun 21.2009 — #Okay, the only thing i can think of is using an array to store references to your DIV elements. But that's not ideal, where is it you need to change the style attributes of the div?(i'm assuming in some other function, etc.)...
As for actually changing the style defs, do you need to change one box idependantly of the others?