Y Constraint on a DragDrop Element not working correctly in Internet Explorer
- Hello all,
I've got an image in a table, such as:
<img id='the_img' src='/images/grabber.jpg'>
var resizer_dd1 = new YAHOO.util.DD("the_img");
Now, in Firefox this works as expected: The image can be dragged, but
only horizontally. In Internet Explorer (6.0), it also drags, only
horizontally, but when I begin to gdrag the image, it snaps to the top
of the page. (Note that the above table is not at the top of the
page). It would appear that setting the Y constraint on the element
makes it snap to top:0px, or some such nonsense.
Is anyone else seeing this? Any advice?
- On Tue, Feb 21, 2006 at 10:46:39PM -0000, desau13 wrote:
> Hello all,Positioning elements does not alway behave as expected if you do not have a
> I've got an image in a table, such as:
> <img id='the_img' src='/images/grabber.jpg'>
position style for the element. Try adding style="position:relative" to
your image. If this doesn't fix it, please post a complete example.