Zozo
(Zozo)
1
Hello,
How to leave a space for the nav bar if I’m embedding this code?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>title></head><body><iframe src="" marginheight=0 marginwidth=0 frameborder="0" height="100%" width="100%" style="position:absolute; top:0; left:0;" ></iframe></body></html>
samliew
(webflowexpert.com)
2
You cannot embed a document within a document, so remove everything except the iframe.
<iframe src="https://areebb.runexam.com/signin.aspx" marginheight="0" marginwidth="0" frameborder="0" height="100%" width="100%" style="position:absolute; top:0; left:0;" ></iframe>
Now, the iframe has an absolute style. You can remove those
<iframe src="https://areebb.runexam.com/signin.aspx"></iframe>
1 Like
Zozo
(Zozo)
3
But it won’t take the full page minus the nav bar, I did set the width and the height to 100% to take the whole page but it didn’t works
samliew
(webflowexpert.com)
4
<iframe id="myIframe" src="https://areebb.runexam.com/signin.aspx"></iframe>
<style>
#myIframe {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: calc(100vh - 100px);
}
</style>
Where 100px is height of navbar.
1 Like
system
(system)
Closed
5
This topic was automatically closed after 60 days. New replies are no longer allowed.