Yep, Ben's right try the plugin. In some cases I found the standard JQuery height() and width() methods adequate, but the dimensions plugin tends to be more reliable.
Something like this should do it: (Maybe someone else can offer a shorter technique) $("select-my-elements").each(function(){ var $myEl = $(this); $myEl.css({ width:$myEl.height(), height:$myEl.height() }); }) George bmsterling wrote: > > Lukas, > Check out the demensions pluging, this should help you get the actual > height and width real easy. > > Ben > -- View this message in context: http://www.nabble.com/IE-7-fadeIn%2C-fadeOut-problem-tf3018206.html#a8390355 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/