Team:IIT Madras

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
<html>
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
<style><head>
-
<head><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://www.flat-stomach-exercises.com/favicon.ico" />
+
#container {
 +
width: 850px;
 +
margin-right: auto;
 +
margin-left: auto;
 +
}
 +
#header {
 +
height: 100px;
 +
width: 850px;
 +
background-image: url(images/header.jpg);
 +
}
-
<title>Your Title</title>
+
#content {
-
<META Name="Description" Content="description" />
+
width: 500px;
-
<META Name="Keywords" Content="keywords separated by commas"/>
+
padding: 10px;
-
<link rel="Shortcut Icon" href="/favicon.ico" />
+
margin-right: 160px;
-
<link href="style.css" rel="stylesheet" type="text/css" />
+
margin-left: 160px;
-
<style type="text/css">
+
}
 +
#leftnav {
 +
float: left;
 +
width: 140px;
 +
height: 400px;
 +
background-color: #30D9F4;
 +
padding: 5px;
 +
 +
}
-
</style>
+
#leftnav ul
-
</head>
+
{
-
<body>
+
margin-left: 0;
 +
padding-left: 0;
 +
list-style-type: none;
 +
font-family: Arial, Helvetica, sans-serif;
 +
font-size: 12px;
 +
}
-
<div id="container">
+
#leftnav a
 +
{
 +
display: block;
 +
width: 130px;
 +
padding-top: 3px;
 +
padding-right: 3px;
 +
padding-bottom: 3px;
 +
padding-left: 3px;
 +
border-bottom-width: 1px;
 +
}
-
<div id="header"><span class="style1">
+
#leftnav a:link, .navlist a:visited
-
  </span>
+
{
-
 
+
color: #ffffff;
-
</div>
+
text-decoration: underline;
 +
font-weight: bold;
 +
}
-
<div id="leftnav">
+
#leftnav a:visited
-
<ul id="navlist">
+
{
-
<li><a href="http://www.thisisyourhomepage.com">Home</a></li>
+
  color: #ffffff;
-
<li><a href="http://www.yahoo.com">Links</a></li>
+
  text-decoration: underline;
-
<li><a href="http://www.yahoo.com">Links</a></li>
+
  font-weight: bold;
-
<li><a href="http://www.yahoo.com">Links</a></li>
+
}
-
<li><a href="http://www.yahoo.com">Links</a></li>
+
-
<li><a href="http://www.yahoo.com">Links</a></li>
+
-
</ul>
+
-
<p>The entire left column layout and color is controlled by the &quot;leftnav&quot; section on the style sheet. </p>
+
#leftnav a:hover
-
<p>The nav links above are controlled by the a leftnav, a leftnav, leftnav a:hover and leftnav ul section.</p>
+
{
-
<p>Play around with different attributes to see different results.</p>
+
text-decoration: none;
-
</div>
+
color: #0000ff;
 +
}
 +
#sidebar {
 +
padding: 10px;
 +
float: right;
 +
width: 130px;
 +
background-color: #30D9F4;
 +
height: 390px;
-
<div id="sidebar">
+
}
-
<p> This is where you put sidebar text. It's a great place for text and banner ads or news items.</p>
+
-
<p>Define the look and feel of this area by editing the <strong>sidebar</strong> section in the style.css file
+
-
  that came with this template.</p>
+
-
<p>You can also adjust the color, height, etc. of this area if you wish.</p>
+
-
</div>
+
-
<div id="content">
+
#footer {
 +
background-color: #2F77F1;
 +
padding: 10px;
 +
clear: both;
 +
font-family: Verdana, Arial, Helvetica, sans-serif;
 +
font-size: 12px;
 +
font-weight: bold;
 +
}
-
  <h1>Title of Page (Edit the H1 Tag on style sheet to change look of title.)</h1>
 
-
 
-
 
-
  <p>This area is controlled by the &quot;container&quot; section on your style sheet. If you want to adjust the size of this space, change the gray background color, etc. then you can play with the values underneath &quot;container&quot; section in the style.css file.</p>
 
-
  <p>To change the font size and style, edit the &quot;p&quot; attribute.</p>
 
-
  <p><a href="http://www.yahoo.com">This is a hyperlink</a>. To change the color of the hyperlink and the color it changes when you mouseover it, edit the &quot;a&quot;, &quot;a: visited&quot; and &quot;a: hover&quot; sections in style.css.</p>
 
-
 
-
 
 
-
 
+
h1 {
-
  <h2>This is H2 Subtitle Text. Change the H2 tag in the style sheet to change the design of this text.</h2>
+
font-family: Verdana, Arial, Helvetica, sans-serif;
-
  <h3>This is H3 Subtitle Text. Change the H3 tag in the style sheet to change the design of this text.<br />
+
font-size: 22px;
-
</h3>
+
font-weight: bold;
-
  </div>
+
color: #1A2373;
 +
line-height: 24px;
 +
}
 +
h2 {
 +
font-family: Verdana, Arial, Helvetica, sans-serif;
 +
font-size: 17px;
 +
font-weight: bold;
 +
color: #2F77F1;
 +
line-height: 20px;
 +
}
 +
h3 {
 +
font-family: Verdana, Arial, Helvetica, sans-serif;
 +
font-size: 14px;
 +
font-weight: bolder;
 +
color: #000000;
 +
line-height: 20px;
 +
}
 +
p {
 +
font-family: Verdana, Arial, Helvetica, sans-serif;
 +
font-size: 12px;
 +
line-height: 11pt;
 +
margin-top: 3px;
 +
margin-right: 0;
 +
margin-bottom: 3px;
 +
margin-left: 0;
 +
padding-bottom: 9px;
 +
}
-
<div align="center" id="footer">
+
a {
-
<p>This is the footer section. To edit the colors, font style, etc. Edit the &quot;footer&quot; section in style.css</p>
+
color: #E82525;
-
<p class="smalltext">&copy; 2008 Your copyright notice </p>
+
font-weight: bold;
-
<p class="smalltext">(The size of the copyright notice is controlled by &quot;smalltext&quot; in the style sheet.)</p>
+
text-decoration: underline;
-
</div>
+
}
 +
a:visited {
 +
color: #E82525;
 +
text-decoration: underline;
 +
font-weight : bold;
 +
}
 +
a:hover {
 +
color: #901BBE;
 +
text-decoration: none;
 +
}
-
</div>
 
 +
.box1 {
 +
background:#ffffff;
 +
color: #000;
 +
border:1px solid #00ffff;
 +
width: 400px;
 +
height: 165px;
 +
padding-top: 5;
 +
padding-right: 6px;
 +
padding-bottom: 0;
 +
padding-left: 6px;
 +
line-height: 16px;
 +
}
-
 
+
.smalltext {
-
</body>
+
font-family: Verdana, Arial, Helvetica, sans-serif;
-
</html>
+
font-size: 10px;
 +
padding: 3px 0;
 +
    margin: 3px 0;
 +
line-height: 12pt
 +
}
 +
</style></head>

Revision as of 20:07, 12 October 2009