Difference between revisions of "Template:Team:Harvard BioDesign/CSS"

Line 18: Line 18:
  
  
 +
/*remove unwanted p tags*/
 +
<!-- Remove all empty <p> tags -->
 +
<script type="text/javascript">
 +
    $(document).ready(function() {
 +
        $("p").filter( function() {
 +
            return $.trim($(this).html()) == '';
 +
        }).remove()
 +
    });
 +
</script>
  
/*Hides Menu*/
+
/* Removes "teams" from the menubar */
body {
+
#menubar > ul > li:last-child {
     margin: 10px 0 0 0;
+
     display: none;}
    padding: 0;}
+
/* Resizes the menubar to fik the links (default is 400px) */
#top-section {
+
#menubar {
     width: 965px;
+
     width: auto;}
    height: 0;
+
    margin: 0 auto;
+
    padding: 0;
+
    border: none;}
+
 
#menubar {
 
#menubar {
 
     font-size: 65%;
 
     font-size: 65%;
Line 42: Line 47:
 
#menubar:hover li a {
 
#menubar:hover li a {
 
     color: white;}
 
     color: white;}
 +
 +
/*Fix for internet explorer*/
 +
<!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
 +
<!--[if lt IE 9]>
 +
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
 +
<![endif]-->
 
 
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 03:55, 28 June 2015