+ 1
Dynamic menu bar with "active" CSS
I created a dynamic menu bar, which picks menu title and content from SQL database. I just want to add some CSS on navigation bar which is active at current time. How can I solve this? (maybe with getting url?)
2 Answers
+ 15
Use the <a> tag around your menu items and style the links with CSS.
a:link {}
a:visited {}
a:active {} for active links
a:hover {}
+ 1
Please provide your code so we can help you!