Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 81: | Line 81: | ||
margin: 0px auto; | margin: 0px auto; | ||
top: 0px; | top: 0px; | ||
- | + | // left: 100%; | |
width: 965px; | width: 965px; | ||
height: 20px; | height: 20px; | ||
Line 197: | Line 197: | ||
<script type="text/javascript" > | <script type="text/javascript" > | ||
- | if (window.innerWidth!=undefined) /* Standard */ | + | /*if (window.innerWidth!=undefined) /* Standard */ |
{ | { | ||
document.getElementById('PKU_menubar').style.left = (window.innerWidth - 975)/2. + 'px'; | document.getElementById('PKU_menubar').style.left = (window.innerWidth - 975)/2. + 'px'; | ||
Line 208: | Line 208: | ||
{ | { | ||
document.getElementById('PKU_menubar').style.left = (window.body.clientWidth - 975)/2. + 'px'; | document.getElementById('PKU_menubar').style.left = (window.body.clientWidth - 975)/2. + 'px'; | ||
- | } | + | }*/ |
var thispage = document.location.toString().slice("https://2012.igem.org/".length); /* relative location */ | var thispage = document.location.toString().slice("https://2012.igem.org/".length); /* relative location */ |
Revision as of 13:30, 26 July 2012