Deutsch
Müssen Sie CSS-Code verwenden, um die Navigation auf der Techweb-Website zu simulieren? Der Effekt ist fast der gleiche wie beim Original!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html" /> <style type="text/css" > <!-- #siteNav { clear: float:left; padding-left: 1px; -bottom:2px solid #84B0C7; voice-family: inherit width: 749px } #siteNav li { display:inline; padding:0 } #siteNav a { float:left;background:url() no-repeat left top; :none; } #siteNav a span { float:left; display:block; background:url() no-repeat right top; color:#036; -Mac */ #siteNav a span { float:none } /* IE5-Mac-Hack beenden */ #siteNav a:hover span { color:#036 } #siteNav a:hover { background-position:0% -42px ; } #siteNav a:hover span { Hintergrundposition:100% -42px } #siteNav #sel a { Hintergrundposition:0% -42px; ; } --> </style> <title>Demo</title> </head> <body> <div id="siteNav"> <ul> <li id="sel"><a href="#" ><span>Homepage</span></a></li> <li><a href="#"><span>Informationen</span></a></li> <li><a href ="#"><span>Charaktere</span></a></li> <li><a href="#"><span>Management</span></a></li> <li ><a href="#"><span>Betrieb</span></a></li> <li><a href="#"><span>Finanzen</span></a></ li> <li><a href="#"><span>Technologie</span></a></li> <li><a href="#"><span>Produkte</span></ a></li> <li><a href="#"><span>Netzwerk</span></a></li> <li><a href="#"><span>Telekommunikation</ li> span></a></li> <li><a href="#"><span>Kommentare</span></a></li> <li><a href="#"> <span >Blog</span></a></li> <li><a href="#"><span>Freunde</span></a></li> <li><a href= "# "><span>Scrollen</span></a></li> <li><a href="#"><span>Suchen</span></a></li> <li> <a href="#"><span>WAP</span></a></li> </ul> </div> </body> </html>