How to increase/decrease current margin at a number by jquery?

Posted by Relax on Stack Overflow See other posts from Stack Overflow or by Relax
Published on 2010-05-06T14:35:41Z Indexed on 2010/05/06 14:38 UTC
Read the original article Hit count: 215

Filed under:

Given an element with unknown margin-left, how to increase its margin-left at a number say 100px?

For example, assuming the original margin-left is 100px, the expected result is 100px + 100px thus 200px finally.

© Stack Overflow or respective owner

Related posts about jQuery