Im trying to create a <DIV> that consists only of an image...

<DIV ID="' + this.id + '"><IMG SRC="/image/pic.gif"></DIV>

The problem is Mozilla will not let me do this... when I try it simply wont
let me access  d.getElementById(this.id).style...

When i add an ascii chacter to the DIV it WILL work however:

<DIV ID="' + this.id + '"><IMG SRC="/image/pic.gif">L</DIV>

Am I doing something wrong here?  Its impertitive I get this going as it
part of my sites navigation :(

Thanks in advance,

Mike



Reply via email to