rande Posted July 29, 2011 Report Posted July 29, 2011 I can't find a list of id/class definitions. I copied some code and it has <li id="active"><a href="#" id="current">. i'm just wondering what the active and current does. And I'm looking for a reference for other questions. Can anyone help? thanks Quote
falkencreative Posted July 29, 2011 Report Posted July 29, 2011 Classes/IDs are set by whoever codes the site, and will vary from site to site. You would need to check the CSS stylesheet to see how they are styled. In your example above, those classes most likely indicate the main navigation item that's currently active (#active) and the current sub navigation item within that main section (#current). Those IDs probably add specific styling to the navigation to show to the user where they are in the website. Quote
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.