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 */ | ||
+ | /* Took tips from https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki */ | ||
/* Remove unwanted wiki formatting */ | /* Remove unwanted wiki formatting */ | ||
/****************************/ | /****************************/ | ||
Line 104: | Line 105: | ||
/************************************************************/ | /************************************************************/ | ||
/* Main menu settings */ | /* Main menu settings */ | ||
+ | /* lots of advice and some code taken from | ||
+ | http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/, | ||
+ | http://www.onextrapixel.com/2011/06/03/how-to-create-a-horizontal-dropdown-menu-with-html-css-and-jquery/, | ||
+ | and the comment sections */ | ||
#nav { | #nav { | ||
/* clear:both; */ | /* clear:both; */ | ||
Line 147: | Line 152: | ||
background: #000000; | background: #000000; | ||
border-bottom:1px solid #000; | border-bottom:1px solid #000; | ||
+ | width: 90px; | ||
} | } | ||
#nav ul li.active a { | #nav ul li.active a { |
Revision as of 16:42, 28 September 2012