Team:IIT Madras

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
<head><style>
+
<html xmlns="http://www.w3.org/1999/xhtml">
-
#container {
+
<head><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://www.flat-stomach-exercises.com/favicon.ico" />
-
width: 850px;
+
-
margin-right: auto;
+
-
margin-left: auto;
+
-
}
+
-
#header {
+
-
height: 100px;
+
-
width: 850px;
+
-
background-image: url(images/header.jpg);
+
-
}
+
-
#content {
+
<title>Your Title</title>
-
width: 500px;
+
<META Name="Description" Content="description" />
-
padding: 10px;
+
<META Name="Keywords" Content="keywords separated by commas"/>
-
margin-right: 160px;
+
<link rel="Shortcut Icon" href="/favicon.ico" />
-
margin-left: 160px;
+
<link href="style.css" rel="stylesheet" type="text/css" />
-
}
+
<style type="text/css">
-
#leftnav {
+
-
float: left;
+
-
width: 140px;
+
-
height: 400px;
+
-
background-color: #30D9F4;
+
-
padding: 5px;
+
-
+
-
}
+
-
#leftnav ul
+
</style>
-
{
+
</head>
-
margin-left: 0;
+
<body>
-
padding-left: 0;
+
-
list-style-type: none;
+
-
font-family: Arial, Helvetica, sans-serif;
+
-
font-size: 12px;
+
-
}
+
-
#leftnav a
+
<div id="container">
-
{
+
-
display: block;
+
-
width: 130px;
+
-
padding-top: 3px;
+
-
padding-right: 3px;
+
-
padding-bottom: 3px;
+
-
padding-left: 3px;
+
-
border-bottom-width: 1px;
+
-
}
+
-
#leftnav a:link, .navlist a:visited
+
<div id="header"><span class="style1">
-
{
+
  </span>
-
color: #ffffff;
+
 
-
text-decoration: underline;
+
</div>
-
font-weight: bold;
+
-
}
+
-
#leftnav a:visited
+
<div id="leftnav">
-
{
+
<ul id="navlist">
-
  color: #ffffff;
+
<li><a href="http://www.thisisyourhomepage.com">Home</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>
 +
<li><a href="http://www.yahoo.com">Links</a></li>
 +
</ul>
-
#leftnav a:hover
+
<p>The entire left column layout and color is controlled by the &quot;leftnav&quot; section on the style sheet. </p>
-
{
+
<p>The nav links above are controlled by the a leftnav, a leftnav, leftnav a:hover and leftnav ul section.</p>
-
text-decoration: none;
+
<p>Play around with different attributes to see different results.</p>
-
color: #0000ff;
+
</div>
-
}
+
-
#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>
-
#footer {
+
<div id="content">
-
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 {
+
 
-
font-family: Verdana, Arial, Helvetica, sans-serif;
+
  <h2>This is H2 Subtitle Text. Change the H2 tag in the style sheet to change the design of this text.</h2>
-
font-size: 22px;
+
  <h3>This is H3 Subtitle Text. Change the H3 tag in the style sheet to change the design of this text.<br />
-
font-weight: bold;
+
</h3>
-
color: #1A2373;
+
  </div>
-
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;
 
-
}
 
-
a {
+
<div align="center" id="footer">
-
color: #E82525;
+
<p>This is the footer section. To edit the colors, font style, etc. Edit the &quot;footer&quot; section in style.css</p>
-
font-weight: bold;
+
<p class="smalltext">&copy; 2008 Your copyright notice </p>
-
text-decoration: underline;
+
<p class="smalltext">(The size of the copyright notice is controlled by &quot;smalltext&quot; in the style sheet.)</p>
-
}
+
</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 {
+
 
-
font-family: Verdana, Arial, Helvetica, sans-serif;
+
</body>
-
font-size: 10px;
+
</html>
-
padding: 3px 0;
+
-
    margin: 3px 0;
+
-
line-height: 12pt
+
-
}
+
-
</style></head>
+

Revision as of 20:05, 12 October 2009

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Your Title

The entire left column layout and color is controlled by the "leftnav" section on the style sheet.

The nav links above are controlled by the a leftnav, a leftnav, leftnav a:hover and leftnav ul section.

Play around with different attributes to see different results.

Title of Page (Edit the H1 Tag on style sheet to change look of title.)

This area is controlled by the "container" 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 "container" section in the style.css file.

To change the font size and style, edit the "p" attribute.

This is a hyperlink. To change the color of the hyperlink and the color it changes when you mouseover it, edit the "a", "a: visited" and "a: hover" sections in style.css.

This is H2 Subtitle Text. Change the H2 tag in the style sheet to change the design of this text.

This is H3 Subtitle Text. Change the H3 tag in the style sheet to change the design of this text.