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

Home Forums CSS Help on Menu bar

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #43580

    Hello there, I’m currently stuck on my menu bar for my project.
    I just started 3 months ago on css & html and right now I’m stuck at hover, fade in & fade out.

    What I’m trying to do is when you hover onto a selected region of the menu bar, an icon will appear on the side of the word and if you’re on the selected page(html) the icon will appear forever.

    Here’s the example ”
    – Tab 3 is the selected region

    Is there a solution?


    add the image to :hover
    Then add it again to .active


    a:hover{background:url(img.png) no-repeat right center;}
    .active {background:url(img.png) no-repeat right center;}

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