css - Stacking iframes in one page -
i trying create 1 page multiple iframes stacked scroll through. - want them extend 100% of length - want right , left sidebars stay fixed side of screen , not scroll iframe content.
issues having: -the side bar scrolling not staying on side when scroll second iframe. -i not able iframes display whole height without scrolling. here have tried.
html { height:100%; } body { height:100%; margin:0; } h1 { font-family: "century gothic", centurygothic, applegothic, sans-serif; } h2 { font-family: "century gothic", centurygothic, applegothic, sans-serif; } h3 { font-family: "century gothic", centurygothic, applegothic, sans-serif; } h4 { font-family: "century gothic", centurygothic, applegothic, sans-serif; } p { font-family: "century gothic", centurygothic, applegothic, sans-serif; } a:link { color: #5e9787; } a:visited { color: #85ccb8; } a:hover { color: #4b766a; } a:active { color: #38e0b1; } /* begin: page layout*/ #container { width: 100%; height: 100%; margin-left: auto; margin-right:auto; } #header { height:15px; background-color: gray; } #rsidebar { float: left; width: 175px; height: 100%; background-color: #f7f6f2; } #mainbody { width: calc(100% - 300px); height:100%; background-color: white; float: left; } #lsidebar { width:50px; height:100%; background-color: #f7f6f2; float: right; } /* end: page layout*/ <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>encounter 11</title> <link rel="icon" type="image/ico" href="favicon.ico"/> <link rel="stylesheet" type="text/css" href="encounter-style.css"> <style> </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head> <body> <div id="container"> <div id="rsidebar"> <div style="margin-top: 20px;" align="center"> <h2>title</h2> </div> <div style="margin-left: 10px; margin-top:120%;"> <h3 class="indent">learner bait</h3> <h3>learner context</h3> <h3>animated / engaged learning</h3> <h3>heart learning</h3> <h3>soul learning</h3> <h3>life learning</h3> <h3>kaizen learning</h3> </div> </div> <div id="mainbody"> <iframe style="border-style: none; border-width: 0px; width:100%; overflow:initial;" src="https://s3.amazonaws.com/aws-website-learnsignifyone-at0az/encounter-11_1/11_1lb-1.html"></iframe> <iframe style="border-style: none; border-width: 0px; width:100%; overflow:initial;" src="https://s3.amazonaws.com/aws-website-learnsignifyone-at0az/encounter-11_1/11_1lb-2.html"></iframe> <iframe style="border-style: none; border-width: 0px; width:100%; overflow:initial;" src="https://s3.amazonaws.com/aws-website-learnsignifyone-at0az/encounter-11_1/11_1lb-3.html"></iframe> </div> <div id="lsidebar"> <h4>left sidebar</h4> </div> </div> </body> </html>
Comments
Post a Comment