Template:METU-Ankara header
From 2011.igem.org
(Difference between revisions)
Line 74: | Line 74: | ||
} | } | ||
- | + | ul#menu { | |
- | + | height: 54px; | |
- | + | width: 500px; | |
- | + | margin: 0; | |
- | + | padding: 0; | |
- | + | position: relative; | |
- | + | ||
} | } | ||
- | + | ul#menu2 { | |
- | + | height: 54px; | |
- | + | width: 500px; | |
- | + | margin: 0; | |
- | + | padding: 0; | |
+ | position: relative; | ||
} | } | ||
- | + | ul#menu li { | |
- | { | + | list-style: none; |
- | + | position: absolute; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ul#menu2 li { | |
- | # | + | list-style: none; |
- | { | + | position: absolute; |
- | + | ||
} | } | ||
- | + | ul#menu li a { | |
- | + | height: 54px; | |
- | + | display: block; | |
- | + | position:relative; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ul#menu2 li a { | |
- | + | height: 54px; | |
- | + | display: block; | |
- | + | position:relative; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #home a{ | |
- | + | width:96px; | |
- | + | height: 30px; | |
- | + | background: url("http://ascmedikal.com/igem/home.png") no-repeat; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #project a{ | |
- | + | width:127px; | |
- | + | height: 38px; | |
- | + | background: url("http://ascmedikal.com/igem/project.png") no-repeat; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #wetlab a{ | |
- | + | width:145px; | |
- | + | height: 30px; | |
- | + | background: url("http://ascmedikal.com/igem/wetlab.png") no-repeat; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #humanprac a{ | |
- | + | width:268px; | |
- | + | height: 31px; | |
- | + | background: url("http://ascmedikal.com/igem/humanprac.png") no-repeat; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #safety a{ | |
- | + | width:112px; | |
- | + | height: 37px; | |
- | + | background: url("http://ascmedikal.com/igem/safety.png") no-repeat; | |
- | + | } | |
- | + | #futurework a{ | |
- | + | width:223px; | |
- | + | height: 30px; | |
- | + | background: url("http://ascmedikal.com/igem/futurework.png") no-repeat; | |
} | } | ||
+ | #extras a{ | ||
+ | width:117px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/extras.png") no-repeat; | ||
+ | } | ||
+ | #team a{ | ||
+ | width:94px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/team.png") no-repeat; | ||
+ | } | ||
+ | #home {left: 0px;} | ||
+ | #project {left: 130px;} | ||
+ | #wetlab {left: 300px;} | ||
+ | #humanprac {left: 480px;} | ||
+ | #safety {left: 0px;} | ||
+ | #futurework {left: 140px;} | ||
+ | #extras {left: 390px;} | ||
+ | #team {left: 530px;} | ||
- | . | + | ul#menu li a { |
- | + | text-indent: -9999px; | |
- | + | text-decoration: none; | |
- | + | } | |
- | + | ul#menu2 li a { | |
- | + | text-indent: -9999px; | |
- | + | text-decoration: none; | |
- | + | } | |
+ | #home a:hover{ | ||
+ | width:96px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/home_h.png") no-repeat; | ||
+ | } | ||
+ | #project a:hover{ | ||
+ | width:127px; | ||
+ | height: 38px; | ||
+ | background: url("http://ascmedikal.com/igem/project_h.png") no-repeat; | ||
+ | } | ||
+ | #wetlab a:hover{ | ||
+ | width:145px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/wetlab_h.png") no-repeat; | ||
+ | } | ||
+ | #humanprac a:hover{ | ||
+ | width:268px; | ||
+ | height: 31px; | ||
+ | background: url("http://ascmedikal.com/igem/humanprac_h.png") no-repeat; | ||
+ | } | ||
+ | #safety a:hover{ | ||
+ | width:112px; | ||
+ | height: 37px; | ||
+ | background: url("http://ascmedikal.com/igem/safety_h.png") no-repeat; | ||
+ | } | ||
+ | #futurework a:hover{ | ||
+ | width:223px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/futurework_h.png") no-repeat; | ||
+ | } | ||
+ | #extras a:hover{ | ||
+ | width:117px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/extras_h.png") no-repeat; | ||
+ | } | ||
+ | #team a:hover{ | ||
+ | width:94px; | ||
+ | height: 30px; | ||
+ | background: url("http://ascmedikal.com/igem/team_h.png") no-repeat; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | <html> | ||
+ | <ul id="menu" > | ||
+ | <li id="home"><a href="#" title="Home">Home</a></li> | ||
+ | <li id="project"><a href="#" title="Project">Project</a></li> | ||
+ | <li id="wetlab"><a href="#" title="Muz">Wet-Lab</a></li> | ||
+ | <li id="humanprac"><a href="#" title="Human Practice">Human Practice</a></li> | ||
+ | </ul> | ||
+ | <ul id="menu2" > | ||
+ | <li id="safety"><a href="#" title="Safety">Safety</a></li> | ||
+ | <li id="futurework"><a href="#" title="Future Work">Future Work</a></li> | ||
+ | <li id="extras"><a href="#" title="Extras">Extras</a></li> | ||
+ | <li id="team"><a href="#" title="Team">Team</a></li> | ||
+ | </ul> | ||
</html> | </html> |
Revision as of 19:08, 25 August 2011