jquery - set position relative to another element -


suppose of following html:

<div class="header">    <div class="foo"></div> </div> <div class="main"></div> <div class="footer"></div> 

now, .foo relative .header , wish set .foo position in accordance .footer. if use absolute position .foo should relative .footer.

please note: cannot append .foo .footer reason.

is possible?


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -