[jQuery] Computing value for css key
Hi!
I'm trying to position a div, #lt, absolutely in relation to another
div (#content), and subtract 24px so that div#lt.left =
div#content.left - 24px:
$("div#lt").css("left", eval(parseInt($
("div#content").css("left"))-24));
The problem is, I can't get it to happen. I've tried a lot of
different ways, including the above, but might have missed an obvious
one?
Thanks!