»
EnglishFrenchVietnamese

Print - TillNagel.com's Menu - JavaScriptBank.com

Full version: jsB@nk » CSS » Horizontal menu » TillNagel.com's Menu
URL: https://www.javascriptbank.com/tillnagel-menu.html

TillNagel.com's Menu © JavaScriptBank.comA different code to make JavaScript menu by CSS.

Full version: jsB@nk » CSS » Horizontal menu » TillNagel.com's Menu
URL: https://www.javascriptbank.com/tillnagel-menu.html



CSS
<style>A.hmenu {DISPLAY: block; BACKGROUND: #ddd; WIDTH: 75px; COLOR: #000; LINE-HEIGHT: 25px; HEIGHT: 25px; TEXT-ALIGN: center; TEXT-DECORATION: none}A.hmenu:link {DISPLAY: block; BACKGROUND: #ddd; WIDTH: 75px; COLOR: #000; LINE-HEIGHT: 25px; HEIGHT: 25px; TEXT-ALIGN: center; TEXT-DECORATION: none}A.hmenu:visited {DISPLAY: block; BACKGROUND: #ddd; WIDTH: 75px; COLOR: #000; LINE-HEIGHT: 25px; HEIGHT: 25px; TEXT-ALIGN: center; TEXT-DECORATION: none}A.hmenu {FLOAT: left}A.hmenu:link {FLOAT: left}A.hmenu:visited {FLOAT: left}A.hmenu:hover {BACKGROUND: #9492a5; COLOR: #fff}A.hmenu:active {BACKGROUND: #333; COLOR: #fff}A:link {BACKGROUND: none transparent scroll repeat 0% 0%; MARGIN: 0px; COLOR: #000; LINE-HEIGHT: 15px; BORDER-BOTTOM: #ccc 1px solid; TEXT-DECORATION: none}A:active {BACKGROUND: none transparent scroll repeat 0% 0%; MARGIN: 0px; COLOR: #000; LINE-HEIGHT: 15px; BORDER-BOTTOM: #ccc 1px solid; TEXT-DECORATION: none}A:visited {COLOR: #333}A:hover {BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #006; BORDER-BOTTOM: #333 1px solid; TEXT-DECORATION: none}</style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<DIV id=nav><P><A class=hmenu href="">Home</A><A class=hmenu href="">Projects</A> <A class=hmenu href="">About</A><P></P></DIV><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->