Team:Valencia/Prueba
From 2011.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | #headerlinks{ | ||
+ | margin-left: -20px; | ||
+ | } | ||
+ | |||
+ | #nav, #nav ul { | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | .abstractext{ | ||
+ | float:right; | ||
+ | width="400px" | ||
+ | } | ||
+ | |||
+ | #nav a { | ||
+ | display: block; | ||
+ | width: 149px; | ||
+ | } | ||
+ | |||
+ | #nav li { | ||
+ | float: left; | ||
+ | width: 149px; | ||
+ | margin-right: 41px; | ||
+ | } | ||
+ | |||
+ | #nav li ul { | ||
+ | position: absolute; | ||
+ | width: 149px; | ||
+ | left: -999em; | ||
+ | } | ||
+ | |||
+ | #nav li:hover ul { | ||
+ | left: auto; | ||
+ | text-decoration: none; | ||
+ | color: white !important; | ||
+ | |||
+ | } | ||
+ | |||
+ | #nav li:hover ul, #nav li.sfhover ul { | ||
+ | left: auto; | ||
+ | text-decoration: none; | ||
+ | color: white !important; | ||
+ | } | ||
+ | |||
+ | sfHover = function() { | ||
+ | var sfEls = document.getElementById("nav").getElementsByTagName("LI"); | ||
+ | for (var i=0; i<sfEls.length; i++) { | ||
+ | sfEls[i].onmouseover=function() { | ||
+ | this.className+=" sfhover"; | ||
+ | } | ||
+ | sfEls[i].onmouseout=function() { | ||
+ | this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | if (window.attachEvent) window.attachEvent("onload", sfHover); | ||
+ | |||
+ | .bannerimage { | ||
+ | |||
+ | } | ||
+ | |||
+ | a.bannerlinks { | ||
+ | color: white !important; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | a.bannertoplinks { | ||
+ | color: white !important; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | a.bannerlinks:hover, a.bannertoplinks:hover { | ||
+ | background-color: #A0C544; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | .bannerlinks { | ||
+ | background-color: #7F5217; | ||
+ | border-style: solid; | ||
+ | border-color: white; | ||
+ | border-width: 1px; | ||
+ | color: white; | ||
+ | padding: 3px 20px 3px 20px; | ||
+ | margin-left: -19px; | ||
+ | } | ||
+ | |||
+ | .bannertoplinks { | ||
+ | background-color: #827B60; | ||
+ | border-style: solid; | ||
+ | border-color: white; | ||
+ | border-width: 1px; | ||
+ | color: white; | ||
+ | margin-bottom: -2px; | ||
+ | padding: 3px 20px 3px 20px; | ||
+ | } | ||
+ | .bannertoplinkslast{ | ||
+ | background-color: #827B60; | ||
+ | border-style: solid; | ||
+ | border-color: white; | ||
+ | border-width: 1px; | ||
+ | color: white; | ||
+ | margin-bottom: -2px; | ||
+ | padding: 3px 20px 3px 20px; | ||
+ | } | ||
+ | |||
+ | |||
body { | body { | ||
font: 10px normal Verdana, Arial, Helvetica, sans-serif; | font: 10px normal Verdana, Arial, Helvetica, sans-serif; | ||
Line 63: | Line 171: | ||
-webkit-border-radius: 10px; | -webkit-border-radius: 10px; | ||
behavior:url(border-radius.htc); | behavior:url(border-radius.htc); | ||
+ | } | ||
+ | |||
+ | .tabla { | ||
+ | background-color:transparent; | ||
+ | } | ||
+ | |||
+ | .tabla th { | ||
+ | width:100px; | ||
+ | height:50px; | ||
+ | } | ||
+ | |||
+ | .rojo { | ||
+ | background-color:red; | ||
+ | } | ||
+ | |||
+ | .amarillo { | ||
+ | background-color:yellow; | ||
+ | } | ||
+ | |||
+ | .azul { | ||
+ | background-color:blue; | ||
} | } | ||
Line 120: | Line 249: | ||
}); | }); | ||
</script> | </script> | ||
- | < | + | |
- | + | <div id="headerlinks"> | |
- | + | <ul id="nav"> | |
- | + | <li> | |
- | + | <a class="bannertoplinks" href="https://2011.igem.org/Team:Valencia">home</a> | |
- | + | </li> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<li> | <li> | ||
- | + | <a class="bannertoplinks" href="https://2011.igem.org/Team:Valencia/Team">the team</a> | |
+ | <ul style="z-index:1"> | ||
+ | <li><a class="bannerlinks" href="https://2011.igem.org/Team:Valencia/Team">the team</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
- | < | + | <li> |
- | + | <a class="bannertoplinks" href="https://2011.igem.org/Team:Valencia/Project">the project</a> | |
- | + | <ul style="z-index:1"> | |
- | + | <li><a class="bannerlinks" href="https://2011.igem.org/Team:Valencia/Project">overview</a></li> | |
- | + | </ul> | |
- | + | </li> | |
- | + | ||
- | + | <li> | |
- | + | <a class="bannertoplinks" href="https://2011.igem.org/Team:Valencia/Project">the parts</a> | |
- | + | <ul style="z-index:1"> | |
- | < | + | <li><a class="bannerlinks" href="https://2011.igem.org/Team:Valencia/Project">the parts</a></li> |
- | + | </ul> | |
- | + | </li> | |
- | + | ||
- | + | <li> | |
- | + | <a class="bannertoplinks" href="https://2011.igem.org/Team:Valencia/Project">modelling</a> | |
- | + | <ul style="z-index:1"> | |
- | + | <li><a class="bannerlinks" href="https://2011.igem.org/Team:Valencia/Project">modelling</a></li> | |
- | </ul> | + | </ul> |
+ | </li> | ||
+ | |||
+ | </ul> | ||
+ | </div> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <table class="tabla"> | ||
+ | <tr> | ||
+ | <th class="rojo">Cabereca 1</th> | ||
+ | <th class="amarillo">Cabereca 2</th> | ||
+ | <th class="azul">Cabereca 3</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Dato 1</td> | ||
+ | <td>Dato 2</td> | ||
+ | <td>Dato 3</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Dato 4</td> | ||
+ | <td>Dato 5</td> | ||
+ | <td>Dato 6</td> | ||
+ | </tr> | ||
+ | </table> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 18:07, 5 September 2011
Cabereca 1 | Cabereca 2 | Cabereca 3 |
---|---|---|
Dato 1 | Dato 2 | Dato 3 |
Dato 4 | Dato 5 | Dato 6 |