Hello
I am displaying the following span on the screen:
I set the body's style attribute to: position:relative
The span will get displayed on the screen as a trigger for some event. (where its final left and top attributes will be calculated and assigned, and it will then become visible)
for debug purposes, I am running the following on the onload event of the body:
For some reason, the values I am getting are 0!
Can anyone tell me what is wroing with my code?
I know that I set the width and height attribute to 0px when the span was defined because I don't know in advance what the actual dimensions of the span will be.
thanks