How to give active menu item different styling

Estish

New Member
My menu is a bunch of links which I then use CSS to style as buttons\[code\]<div id="menu"> <a href="" class="mybutton">Item 1</a> <a href="" class="mybutton">Item 3</a> <a href="" class="mybutton">Item 3</a></div>\[/code\]When a menu item is clicked and is active, what's the best way to style it differently? Do I use jquery or javascript to add a new class? or there's a CSS trick for this?
 
Back
Top