If I do that, they all pile up on each other at the top/left corner of the table, like this: http://tinyurl.com/5tdmgm
On Thu, Nov 20, 2008 at 10:21 AM, Liam Potter <[EMAIL PROTECTED]>wrote: > > set the css on them to this > > position:absolute; > top:0; > left:0; > > vani wrote: > > I've taken out the div, but it doesn't matter because as soon as I > > change the images positioning to absolute they change their top/left > > coordinates to the center of the cell, like this: > http://tinyurl.com/5vmb42 > > > > On 20 stu, 09:57, Liam Potter <[EMAIL PROTECTED]> wrote: > > > >> is the div necessary? > >> Try taking it out. > >> > >> > >> > >> vani wrote: > >> > >>> Thanks for replying, but I'm still having trouble making it work. I > >>> tried to set the table to relative and img to absolute but it didn't > >>> work as intended. > >>> This is the layout of the table: > >>> <table> > >>> <tr> > >>> <td><div><img /></div></td> > >>> <td><div><img /></div></td> > >>> <td><div><img /></div></td> > >>> </tr> > >>> </table> > >>> > >>> ...I'm trying to resize the img elements. > >>> > >>> On 19 stu, 18:15, Liam Potter <[EMAIL PROTECTED]> wrote: > >>> > >>>> use absolute positioning and set the parent element to relative. > >>>> > >>>> vani wrote: > >>>> > >>>>> Is it possible to create an animated resize of an element without > >>>>> affecting the layout of the parent element table? > >>>>> I'm using jQuery 1.2.6 and possibly personalized jQuery UI, if > >>>>> necessary. > >>>>> > > > > >