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> | ||
− | /* | + | /* Removes "teams" from the menubar */ |
− | + | #menubar > ul > li:last-child { | |
− | + | display: none;} | |
− | + | /* Resizes the menubar to fik the links (default is 400px) */ | |
− | # | + | #menubar { |
− | width: | + | width: auto;} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#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