Template:Main

From 2009.igem.org

(Difference between revisions)
 
(55 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
<style>
-
<style type="text/css">  
+
 
-
<!--
+
body,th
-
body {
+
{
-
font: 100% Verdana, Arial, Helvetica, sans-serif;
+
font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
-
background: #666666;
+
color: #01FFFF;
-
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
+
}
-
padding: 0;
+
 
-
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
+
td
 +
{
color: #000000;
color: #000000;
-
background-color: #000;
 
}
}
-
.twoColElsRtHdr #container {
+
 
-
background: #000000;
+
table
-
margin: 10 auto; /* the auto margins (in conjunction with a width) center the page */
+
{
-
border: 1px solid #000000;
+
background-color: #000000;
-
text-align: left; /* this overrides the text-align: center on the body element. */
+
font-color: #01FFFF;
-
background-color: #000;
+
color:black;
-
width: 975px;
+
-
}
+
-
.twoColElsRtHdr #header {
+
-
background: #000000;
+
-
padding: 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
+
-
}
+
-
.twoColElsRtHdr #header h1 {
+
-
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
+
-
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
+
}
}
-
/* Tips for sidebar1:
+
a.menu
-
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
+
{
-
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
+
background-color: #000000;
-
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsRtHdr #sidebar1 p" rule.
+
color: black;
-
*/
+
width: 12em;
-
.twoColElsRtHdr #sidebar1 {
+
-
float: right;
+
-
width: 12em; /* since this element is floated, a width must be given */
+
-
background: #000000; /* the background color will be displayed for the length of the content in the column, but no further */
+
-
padding: 15px 0;
+
}
}
-
.twoColElsRtHdr #sidebar1 h3, .twoColElsRtHdr #sidebar1 p {
+
 
-
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
+
.firstHeading
-
margin-right: 10px;
+
{
 +
color:white;
}
}
-
/* Tips for mainContent:
+
.secondHeading
-
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
+
{
-
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
+
color:white;
-
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
+
-
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
+
-
*/
+
-
.twoColElsRtHdr #mainContent {
+
-
  margin: 0 13em 0 10px; /* the left margin will look best if you match the padding amount to the header and footer. */
+
-
}
+
-
.twoColElsRtHdr #footer {
+
-
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
+
-
background:#000000;
+
-
}
+
-
.twoColElsRtHdr #footer p {
+
-
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
+
-
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
+
}
}
-
/* Miscellaneous classes for reuse */
+
#bodyContent
-
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
+
{
-
float: right;
+
background-color: #000000;
-
margin-left: 8px;
+
color: #01FFFF;
}
}
-
.fltlft { /* this class can be used to float an element left in your page */
+
 
-
float: left;
+
#content
-
margin-right: 8px;
+
{
 +
background-color: #000000;
 +
color: #01FFFF;
}
}
-
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
+
 
-
clear:both;
+
#footer-box
-
    height:0;
+
{
-
    font-size: 1px;
+
background-color: #000000;
-
    line-height: 0px;
+
color: #01FFFF;
}
}
-
body,td,th {
+
 
-
font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
+
p
 +
{
 +
background-color: #000000;
color: #01FFFF;
color: #01FFFF;
}
}
-
a:link {
+
 
 +
body
 +
{
 +
background-color: #000000;
 +
font-color: #01FFFF;
 +
}
 +
 
 +
#content:link  
 +
{
color: #00FF59;
color: #00FF59;
text-decoration: none;
text-decoration: none;
}
}
-
-->
+
 
-
</style><!--[if IE]>
+
#bodyContent:link
-
<style type="text/css">
+
{
-
/* place css fixes for all versions of IE in this conditional comment */
+
color: #00FF59;
-
.twoColElsRtHdr #sidebar1 { padding-top: 30px; }
+
text-decoration: none;
-
.twoColElsRtHdr #mainContent { zoom: 1; padding-top: 15px; }
+
}
-
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
+
 
 +
h1
 +
{
 +
color: #01FFFF;
 +
text-decoration: none;
 +
}
 +
 
 +
h2
 +
{
 +
color: #01FFFF;
 +
text-decoration: none;
 +
}
 +
 
 +
h2:link
 +
{
 +
color: #01FFFF;
 +
text-decoration: none;
 +
}
 +
 
 +
h3
 +
{
 +
color: #01FFFF;
 +
text-decoration: none;
 +
}
 +
 
</style>
</style>
-
<![endif]--></head>
+
</head>
-
<body class="twoColElsRtHdr">
+
<body>
-
<div id="container">
+
<h2><a href="changeme"><img src="https://static.igem.org/mediawiki/2009/b/b8/Harvard2009Logo.jpg" alt="Hi Mom" width="900" height="200"></a></h2>
-
  <div id="header">
+
 
-
    <!-- end #header -->
+
<div style="width: 650px; height: 800px; left: 10px;">
-
  <img src="https://static.igem.org/mediawiki/2009/b/b8/Harvard2009Logo.jpg" width=975" height="200" alt="Lucas is a baller" /></div>
+
<table width="650px" border="10" cellspacing="10" cellpadding="0">
-
   <div id="sidebar1">
+
  <tr>
-
     <h2><p><a href="somewhere.com">Team</a></p></h2>
+
    <td>
-
    <h2><p>Projects</p></h2>
+
<iframe style="width:630px;height:1000px;" allowtransparency="true" background-color="transparent" scrolling="auto" frameborder=0 src="http://stonelinks.ath.cx/igem"></iframe>
-
     <p><a href="changeme">Bacteria-to-Yeast Communication</a></p>
+
</td>
-
    <p><a href="changeme">PCB Biosynthesis</a></p>
+
   </tr>
-
    <p><a href="changeme">Characterization</a></p>
+
</table>
-
    <p><a href="changeme">Blackboard</a></p>
+
</div>
-
    <p><a href="changeme">Red Light District</a></p>
+
 
-
    <p><a href="changeme">Split Luciferase</a></p>
+
<div style="position: absolute; left: 630px; top: 240px; height: 800px; width: 300px; padding: 3em;">
-
     <p><a href="changeme">Laser-petter</a></p>
+
<table width="300px" border="10" cellspacing="10" cellpadding="0">
-
    <h2><p><a href="changeme">Parts</a></p></h2>
+
  <tr>
 +
     <td>
 +
<h2><a href="changeme">Team</a></h2>
 +
<h2><p>Projects</p></h2>
 +
     <ul>
 +
      <li><a href="changeme">Bacteria-to-Yeast Communication</a></li>
 +
      <li><a href="changeme">Laser-petter</a></li>
 +
      <li><a href="changeme">PCB Biosynthesis in Yeast</a></li>
 +
      <li><a href="changeme">Split Luciferase</a></li>
 +
      <li><a href="changeme">Yeast Cellular Blackboard</a></li>
 +
      <li><a href="changeme">Yeast Red Light District</a></li>
 +
     </ul>
 +
<h2><p><a href="changeme">Parts</a></p></h2>
     <h2><p><a href="changeme">References</a></p></h2>
     <h2><p><a href="changeme">References</a></p></h2>
-
    <h2><p>Lab Notebook</p></h2>
+
<h2><p>Lab Notebook</p></h2>
-
     <p> <a href="changeme">Daily</a></p>
+
     <ul>
-
    <p><a href="changeme">Protocols</a></p>
+
      <li> <a href="changeme">Daily</a></li>
-
    <p><a href="changeme">Recipes </a></p>
+
      <li><a href="changeme">Protocols</a></li>
-
     <h2><p><a href="changeme">Ethics</a></h2>
+
      <li><a href="changeme">Recipes </a></li>
-
          <!-- end #sidebar1 -->
+
     </ul>
-
    </p>
+
<h2><p><a href="changeme">Ethics</a></h2>
-
   </div>
+
</td>
-
  <div id="mainContent">
+
   </tr>
-
    <h1> Main Content </h1>
+
</table>
-
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. </p>
+
</div>
-
    <p>Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at,  odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce  varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id,  libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat  feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut,  sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh.  Donec nec libero.</p>
+
 
-
    <h2>H2 level heading </h2>
+
-
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
+
-
  <!-- end #mainContent --></div>
+
-
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
+
-
  <div id="footer">
+
-
    <p>&nbsp;</p>
+
-
  <!-- end #footer --></div>
+
-
<!-- end #container --></div>
+
</body>
</body>
</html>
</html>

Latest revision as of 01:36, 12 October 2009

Hi Mom

Team

Projects

Parts

References

Lab Notebook

Ethics