KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can anyone tell me how to highlight (with color) the current link on a navigation bar, using css? I don't want to use the controller option. Here is the code from shared/menu.html.erb: <div id = "navigation"> <ul> <li id="menu"><%=link_to "Menu", menus_path, :class => "menunav"%></li> <li id="drink"><%=link_to " Drinks", drinks_path, :class => "drinknav"%> </li> </ul> </div>
Tags (comma-separated)
Save Edits
Cancel