/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<style> #mainNav li{display:block;position:relative;height:31px;overflow:hidden;float:right;} #it5 {width:97px;} #it4 {width:94px;} #it3 {width:95px;} #it2 {width:101px;} #it1 {width:106px;} .NavT {display:block;height:38px;text-indent:-9999px;} #it5 .NavT {background:url(/img/bg-mainNav-item.png) 0 0 no-repeat; width:97px;} #it4 .NavT {background:url(/img/bg-mainNav-item.png) -97px 0 no-repeat; width:94px;} #it3 .NavT {background:url(/img/bg-mainNav-item.png) -191px 0 no-repeat; width:95px;} #it2 .NavT {background:url(/img/bg-mainNav-item.png) -286px 0 no-repeat; width:101px;} #it1 .NavT {background:url(/img/bg-mainNav-item.png) -387px 0 no-repeat; width:106px;} #it5 .NavT:hover {background:url(/img/bg-mainNav-item.png) 0 -31px no-repeat;} #it4 .NavT:hover {background:url(/img/bg-mainNav-item.png) -97px -31px no-repeat;} #it3 .NavT:hover {background:url(/img/bg-mainNav-item.png) -191px -31px no-repeat;} #it2 .NavT:hover {background:url(/img/bg-mainNav-item.png) -286px -31px no-repeat;} #it1 .NavT:hover {background:url(/img/bg-mainNav-item.png) -387px -31px no-repeat;} ul#mainNav li p.subNav {position:absolute;top:38px;right:0px; height:110px;;background:url(/img/-bg-subNav.png) repeat-x; text-align:center; width:100%;border-top:1px #ccc solid;} ul#mainNav li p.subNav a {display:block; color:#4b4b4b; background:url(/img/bg-mainNav-subNav-a.png) repeat-y; padding-top:4px;font-weight:bold; text-decoration:none;border-left:1px #ccc solid;border-right:1px #ccc solid;border-bottom:1px #ccc solid;height:22px;} ul#mainNav li p.subNav a:hover {color:#0583c9;} </style> <ul id="mainNav"> </ul>