Template:Code

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
<head>
<head>
<style>
<style>
 +
#container {
 +
    height: 100%;
 +
    postition: relative;
 +
    width: 100%;
 +
}
 +
 +
#divA {
 +
    background: #ccc;
 +
    height: 300%;  /* So we can see scrolling in action */
 +
    left: 0;
 +
    position: absolute;
 +
    top: 0;
 +
    width: 25%;
 +
}
 +
 +
#divB {
 +
    background: #c55;
 +
    height: 100%;
 +
    position: fixed;
 +
    right: 0;
 +
    width: 75%;
 +
}
 +
 +
.menu {
.menu {
     background-color: #E0F8E0;
     background-color: #E0F8E0;

Revision as of 06:49, 3 July 2013