Difference between revisions of "Team:elan vital korea"
Line 91: | Line 91: | ||
} | } | ||
+ | .centerr { | ||
+ | position: absolute; | ||
+ | top: 50%; | ||
+ | margin-top: -200px;/* half of #content height*/ | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .centerrr{ | ||
+ | width: 624px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | height: 395px; | ||
+ | } | ||
.center { | .center { | ||
Line 116: | Line 130: | ||
<!-- Section #1 --> | <!-- Section #1 --> | ||
<section id="home" data-speed="10" data-type="background"> | <section id="home" data-speed="10" data-type="background"> | ||
+ | <div class="centerr;"> | ||
+ | <div class="centerrr;"> | ||
<div class="center;" style="width:800px; margin:0 auto;"> | <div class="center;" style="width:800px; margin:0 auto;"> | ||
<a href=#"> | <a href=#"> | ||
Line 126: | Line 142: | ||
<a href="#myAnchor" rel="" id="anchor1" class="anchorLink"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d2/Scroll_arrow.png"></a> | <a href="#myAnchor" rel="" id="anchor1" class="anchorLink"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d2/Scroll_arrow.png"></a> | ||
</div> | </div> | ||
+ | </div> | ||
+ | </div> | ||
</section> | </section> | ||
<!-- Section #2 --> | <!-- Section #2 --> |
Revision as of 16:11, 31 August 2015