Brendon Branigin Posted February 15, 2006 Share Posted February 15, 2006 http://news.google.com/?ned=us&topic=tsee how the current location is indicated using a different background color? Is there a way to achieve this through css or anything other then manualy editing the background in html?tutorial links or anything would be great Link to comment Share on other sites More sharing options...
aspnetguy Posted February 15, 2006 Share Posted February 15, 2006 It is most likely done manually (they probably have 2 menu classes setup in CSS, one for all links and one for the current link.You could probably manage this with javascript because having a different menu on every page is so gross! Link to comment Share on other sites More sharing options...
mpoer Posted February 16, 2006 Share Posted February 16, 2006 I think it could be done in PHP (ASP?), by getting the current page and matching it with the appropriate part of the menu. It'd take some time to code something like that though.. Link to comment Share on other sites More sharing options...
Brendon Branigin Posted February 20, 2006 Author Share Posted February 20, 2006 thanks for the responces, heres a questioninternal css overrides external ccs right? so would adding a class to the <li> link that goes to about.htm in the about.htm file and then styles it as desired work?or would making a css class like a.current in the external sheet and then in about.htm add that class to that particular li be a better choice?does it matter which method i use? Link to comment Share on other sites More sharing options...
newbman Posted February 20, 2006 Share Posted February 20, 2006 As for your first question... yes. Internal overides External, as for your other question... I don't really understand what you mean.-newbman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now