Created
March 16, 2015 10:03
-
-
Save purplefish32/159f02042430cf8b5569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>IFrame Test</title> | |
<style> | |
body, html { | |
position: relative; | |
width: 100%; | |
height: 100%; | |
padding: 0; | |
margin: 0; | |
} | |
.topbar { | |
width: 100%; | |
height: 50px; | |
background-color: red; | |
} | |
.sidebar { | |
position: relative; | |
height: 100%; | |
width: 250px; | |
background-color: green; | |
} | |
.footerbar { | |
width: 100%; | |
height: 20px; | |
background-color: blue; | |
position: absolute; | |
bottom: 0; | |
z-index: 1000; | |
font-size: 11px; | |
} | |
ul { | |
padding: 0; | |
margin: 0; | |
} | |
.topbar li, .footerbar li { | |
display: inline-block; | |
} | |
.iframe-wrapper { | |
position: absolute; | |
top: 50px; | |
right: 0; | |
bottom: 20px; | |
left: 250px; | |
overflow:hidden; | |
} | |
iframe { | |
border: none; | |
height: 100%; | |
width: 100%; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="content"> | |
<div class="topbar"> | |
<ul> | |
<li> | |
<a href="#">toto</a> | |
<a href="#">toto</a> | |
<a href="#">toto</a> | |
</li> | |
</ul> | |
</div> | |
<div class="sidebar"> | |
<ul> | |
<li> | |
<a href="#">toto</a> | |
<a href="#">toto</a> | |
<a href="#">toto</a> | |
</li> | |
</ul> | |
</div> | |
<div class="footerbar"> | |
<ul> | |
<li> | |
<a href="#">toto</a> | |
<a href="#">toto</a> | |
<a href="#">toto</a> | |
</li> | |
</ul> | |
</div> | |
<div class="iframe-wrapper"> | |
<iframe id="template" src="http://www.commitstrip.com/fr/"></iframe> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment