Team:Tsinghua/header
From 2010.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
x=document.getElementById("leftbar"); | x=document.getElementById("leftbar"); | ||
- | if(x | + | if(x != null) |
{ | { | ||
var t = document.getElementById("main_content"); | var t = document.getElementById("main_content"); | ||
- | t.style.width=" | + | t.style.width="40%"; |
t.style.marginLeft="10%"; | t.style.marginLeft="10%"; | ||
} | } |
Revision as of 09:29, 4 October 2010