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
Post a Comment