Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Current page menu state

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24359
    LinCSS25
    Participant

    Can anyone share with me the best way (with CSS) to have the menu button of the page you are on stay in a state that shows that is where you are. kinda like it does right on this site.

    Thanks

    #55034
    Chris Coyier
    Keymaster
    #55030
    ikthius
    Member

    I make a select id and add that to the link I want to highlight

    Code:

    and whatever way I want my link to look like in the selected state i code for that in CSS

    Code:
    #select {…]

    although the body id seems a better idea I have never used it myself

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.