Forum Moderators: open

Message Too Old, No Replies

Insert fixed elements in editable iframe

editable iframe, fix element at top and bottom of page

         

swarnendude

8:04 am on May 5, 2010 (gmt 0)

10+ Year Member



Hi,

I have an editable iframe and I want to insert two DIVs at the topand bottompart(as header/footer) of iframe body respectively. Now, the question is : how to insert a div at the top of iframe body and fix it there?

Also, how to fix the footer div always at the bottom of the iframe body? I tried make its position absolute and gave a margin top/bottom, but the problem comes when the body height of the iframe increases and footer DIV position does not change.

Any work around?


Regards,
Swarnendu

daveVk

3:22 am on May 8, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to forum

How did you go about making the iframe editable ? Whatever you do, needs to fit in with that, such as having 3 divs with the middle one editable, maybe.