Here's my problem, I have a program where a user can enter text into a <DIV> using the div's .innerText through a textbox. This div uses absolute positioning and is given XYWH dimensions when it is loaded. I need to know the true width/height of the div but the problem is the .style.(dimension)...
Thanks, but that is no help to me at all. I tried disabling the said methods in the Microsoft example but it didn't work. And I tried putting it in a div but that didn't work either. So why does this example work:
http://www.nos.noaa.gov/advtech/javascript/drag-n-drop/dragdrop_example.html
Yeah, I've considered that before but that means I will have to completely change my code because then I'd have to resize the picture inside the div and the other objects don't have that. Oh well! I guess everything's gotta change sooner or later. Thanks!
OK, here's my problem. I'm doing the stand dynamic web page where you can click and drag objects around on the web page using absolute positioning. I can do this fine with DIV's but when I attempt to apply the same technique to IMG's I have a problem. In IE6, when you click and drag on an image...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.