Team:Dundee

From 2011.igem.org

(Difference between revisions)
Line 9: Line 9:
   });
   });
}
}
 +
 +
 +
<script type="text/javascript">
 +
  function clearSidebar() {
 +
  $('#sidebar').css({
 +
    float: left;
 +
width: 12em; /* since this element is floated, a width must be given */
 +
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
 +
padding: 15px 0; /* top and bottom padding create visual space within this div */
 +
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
 +
margin-right: 10px;
 +
  });
 +
}
 +
$(function() {
$(function() {

Revision as of 17:33, 20 May 2011