http://www.eecs.tufts.edu/~pgoran01/abet/
I'm using tabbed menus, all of them pop up when you login.
However, the interface looks good in firefox but when I open it in IE the background color of the subtab bar seems to stop halfway down and split through the subtab text. I got this CSS tab template somewhere on the web and I can't find it anymore. It seems that the CSS code I'm using it's working fine on Firefox but I need it to work on all browsers. Can someone see where my problem is. Here is the CSS code I'm using:
Expand|Select|Wrap|Line Numbers
- html {
- min-width: 600px;
- background: #4169E1;
- padding: 0.5em 2em 3em 2em;
- }
- body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers */
- font-family: verdana,sans-serif;
- font-size: x-small;
- voice-family: "\"}\"";
- voice-family: inherit;
- font-size: small;
- color: #333;
- }
- a { color: #06C; }
- a:hover { color: #333; }
- a:active { color: #000; }
- p { line-height: 140%; }
- h1 {
- font-family: trebuchet ms,arial,verdana,sans-serif;
- font-weight: bold;
- font-size: 140%;
- color: #333;
- padding-bottom: 2px;
- border-bottom: 1px dotted #CCC;
- margin: 0;
- }
- .note {
- background: #EEE;
- padding: 4px;
- font-family: tahoma,verdana,sans-serif;
- font-size: 85%;
- line-height: 130%;
- }
- #main {
- text-align: left;
- border: 1px solid #666;
- background: #FFFDF3;
- clear: both;
- width: 98%;
- margin-top: -1px;
- }
- #bodyarea {
- padding: 20px;
- min-height: 300px;
- }
- #topbar {
- padding-bottom: 0.5em;
- font-family: trebuchet ms,verdana,sans-serif;
- font-weight: bold;
- font-size: 200%;
- }
- #topbar a { text-decoration: none; color: white; }
- #topbar a:hover { text-decoration: underline; }
- /*///////////// Tabs Code ////////////*/
- #tabs {
- font-family: tahoma,verdana,sans-serif;
- font-size: 85%;
- clear: both;
- text-align: center;
- }
- #tabs ul {
- display: inline;
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- #tabs li { float: left; }
- #tabs a,span { width: 90px; }
- #tabs span {
- position: relative;
- top: 0;
- margin: 0 2px 0 0;
- float: left;
- background: #FFF3B3;
- border-right: 1px solid #666;
- border-top: 1px solid #666;
- border-left: 1px solid #666;
- padding: 6px 4px 6px 10px;
- text-decoration: none;
- color: #333;
- }
- #tabs a {
- position: relative;
- top: 0;
- margin: 1px 2px 0 0;
- float: left;
- background: #FFFAE1;
- border-right: 1px solid #AAA;
- border-top: 1px solid #AAA;
- border-left: 1px solid #AAA;
- padding: 5px 4px 5px 10px;
- text-decoration: none;
- color: #333;
- }
- #tabs a:hover {
- background: #FFF7CD;
- position: relative;
- top: 0;
- padding: 5px 4px 6px 10px;
- margin-top: 0px;
- }
- #tabs a.active {
- position: relative;
- top: 0;
- margin: 0 2px 0 0;
- float: left;
- /* background: #FFF3B3; */
- background: #FFDEAD;
- border-right: 1px solid #666;
- border-top: 1px solid #666;
- border-left: 1px solid #666;
- padding: 6px 4px 6px 10px;
- text-decoration: none;
- color: #333;
- }
- #tabs a.active:hover {
- position: relative;
- top: 0;
- margin: 0 2px 0 0;
- float: left;
- background: #FFF3B3;
- border-right: 1px solid #666;
- border-top: 1px solid #666;
- border-left: 1px solid #666;
- padding: 6px 4px 6px 10px;
- text-decoration: none;
- color: #333;
- }
- #subtabs ul {
- list-style-type: none;
- margin: 0px;
- padding: 0px;
- }
- #subtabs li {
- float: left;
- padding: 0 8px 0 8px;
- border-left: 1px solid #CCC;
- white-space: nowrap;
- }
- #subtabs li.list2 {
- float: right;
- padding: 0 8px 0 8px;
- border-left: 1px solid #CCC;
- // white-space: nowrap;
- }
- #subtabs li:first-child { border-left: none; }
- #subtabs {
- font-family: tahoma,verdana,sans-serif;
- font-size: 85%;
- background: #FFDEAD;
- color: #666;
- padding: 5px 7px 7px 7px; /* for All other Browsers */
- }