SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2003
    Location
    USA
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Navigation Menu

    I am trying to build a new Navigation menu completely using CSS. When the link is clicked I see the new page, but I want to show the user that he is on a particular page by showing a different color for the particular link. Any help?


    --Thanks

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Seattle
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Zealot Skibum1321's Avatar
    Join Date
    Jun 2003
    Location
    Malden, MA
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One really easy thing that you could do is just make a different class for the page that you are on. So then you would have one class for every other page and the one page that you are on would simply use the class that you made for the current page. It could use all of the same properties except for background-color and color (or whatever else you want to change).

    Hope that helps,
    Keith
    Keith Rousseau


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •