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
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/
You mean the link background?… just change this css – changed background to color
.selected { color: #fff; font-weight:700; }
Updated demo.