Forums

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

Home Forums CSS div a background turns white on click : solved

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34828
    amyth91
    Participant

    hi, i created navigational menus using div. but now when i gave them hyperlinks, and when i click them, the background turns white. can anyone please help me and tell the possible cause, i want them to stay as they are.

    here’s the fiddle

    http://jsfiddle.net/amitkamble1991/H3u9X/embedded/result/

    #89287
    Mottie
    Member

    You mean the link background?… just change this css – changed background to color

    .selected {
    color: #fff;
    font-weight:700;
    }

    Updated demo.

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