Team:SKLBC-China/defaultheader

From 2014hs.igem.org

(Difference between revisions)
 
(14 intermediate revisions not shown)
Line 1: Line 1:
-
<!DOCTYPE html>
 
<html>
<html>
-
<head>
+
<head>
-
<style type="text/css">
+
<style type="text-css">
-
div#container{width:500px}
+
.header{background:#2d2d2d;top:0px;position:fixed;}
-
div#header {background-color:#99bbbb;}
+
</style>
-
div#menu {background-color:#ffff99; height:200px; width:100px; float:left;}
+
</head>
-
div#content {background-color:#EEEEEE; height:200px; width:400px; float:left;}
+
<body>
-
div#footer {background-color:#99bbbb; clear:both; text-align:center;}
+
<div class="header">
-
h1 {margin-bottom:0;}
+
<h1 align="center">SKLBC-China</h1>
-
h2 {margin-bottom:0; font-size:14px;}
+
</div>
-
ul {margin:0;}
+
</body>
-
li {list-style:none;}
+
-
</style>
+
-
</head>
+
-
 
+
-
<body>
+
-
 
+
-
<div id="container">
+
-
 
+
-
<div id="header">
+
-
<h1>Main Title of Web Page</h1>
+
-
</div>
+
-
 
+
-
<div id="menu">
+
-
<h2>Menu</h2>
+
-
<ul>
+
-
<li>HTML</li>
+
-
<li>CSS</li>
+
-
<li>JavaScript</li>
+
-
</ul>
+
-
</div>
+
-
 
+
-
<div id="content">Content goes here</div>
+
-
 
+
-
<div id="footer">Copyright W3School.com.cn</div>
+
-
 
+
-
</div>
+
-
 
+
-
</body>
+
</html>
</html>

Latest revision as of 13:53, 26 May 2014

SKLBC-China