On Oct 7, 2007, at 4:57 PM, iain duncan wrote:
I feel like I must be missing something obvious in the docs, but
while I
have found methods for finding out where an element is ( offset,
position ) I don't see an obvious jquery method for placing an
absolutely positioned element.
What is the recommended way? And might I humbly suggest to the docs
maintainers that this is a hole in the docs right now? It might be
worth
a mention near the offset method as to how one would set that.
Thanks!
Iain
Hi Iain,
You could just use the .css() method. For example:
$('some-selector').css({top: '200px', left: '350px'});
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com