How can I make my navigation have a different color for current selection ?
Here is my script :
<style>
ul.menu-list{margin:0;padding:0;list-style-type: none;overflow: hidden;background-color:#63F28E;}
li {float: left;}
ul li {font:120%"Arial", Arial, Helvetica, sans-serif;margin:0;padding:0;}
li a {background:#63F28E;/*BOX COLOR IJO*/#border-bottom:1px solid #000000;color:#FA0616;/*TEXT COLOR MERAH*/display: block;#margin:0;padding:15px12px;/*HEIGHT BOX*/text-decoration: none;}
ul a:hover {background:#68E4E4;/*Hovered BOX Color BIRU*/color:#fff;/*Hovered TEXT Color PUTIH*/text-shadow:#ffffff0px0px5px;/*Text Glow*/padding-bottom:15px;/*HEIGHT HOVER BOX*/}</style><ul class="menu-list"><li><a class="active" href="#home">Home</a></li><li><a href="#news">News</a></li><li><a href="#contact">Contact</a></li><li><a href="#about">About</a></li></ul>
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
IVAN88
Hi,
How can I make my navigation have a different color for current selection ?
Here is my script :
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.