AbdelGawad (Talk | contribs) |
AbdelGawad (Talk | contribs) |
||
Line 262: | Line 262: | ||
} | } | ||
+ | #header{ | ||
+ | background-color: green; | ||
+ | height: 65px; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | #body{ | ||
+ | background-color: red; | ||
+ | width: 600px; | ||
+ | height: 40%; | ||
+ | position: absolute; | ||
+ | left: 50%; | ||
+ | margin-left: -300px; /* 50% over, then move back 300px to center... */ | ||
+ | } | ||
+ | |||
+ | |||
+ | #footer{ | ||
+ | background-color: orange; | ||
+ | height: 65px; | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | } | ||
/********************************* HTML STYLING *********************************/ | /********************************* HTML STYLING *********************************/ | ||
Line 493: | Line 521: | ||
</head> | </head> | ||
− | + | <div id="header"> | |
<div class="igem_2017_menu_wrapper" > | <div class="igem_2017_menu_wrapper" > | ||
Line 769: | Line 797: | ||
</div> | </div> | ||
− | <div | + | </div> |
+ | <div id="body"> | ||
+ | |||
+ | </div> | ||
+ | <div id="footer"> | ||
</div> | </div> | ||
<!-- start of content --> | <!-- start of content --> |
Revision as of 01:51, 9 August 2017