Template:Caltech Menubar
From 2012.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
/* This is a comment in css */ | /* This is a comment in css */ | ||
/*Don't display the page title. It is irrelevant.*/ | /*Don't display the page title. It is irrelevant.*/ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* Removing wiki-like stuff */ | /* Removing wiki-like stuff */ | ||
Line 146: | Line 137: | ||
padding: 5px;} | padding: 5px;} | ||
.tab {text-indent: 30pt;} | .tab {text-indent: 30pt;} | ||
+ | |||
+ | <!-- Remove all empty <p> tags --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove() | ||
+ | }); | ||
+ | </script> | ||
/*-----------------------------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------------------------*/ |
Revision as of 21:48, 10 July 2012