July 21, 201115 yr I need help, I have no clue how to put a colour changing button like here, when you run your mouse over the 'Home' button it changes shade! How? graphicdesigns.
July 21, 201115 yr a:hover {color:#FF00FF;} More information here : http://www.w3schools.com/css/css_pseudo_classes.asp
July 21, 201115 yr Author None of them are showing what I'm getting at. They're just text. What if I want to cjange the background of the button and not the text?
July 21, 201115 yr No, it is. That is literally what the site you linked is doing. The entire menu bar has a background of this image ; http://www.xara.com/theme/xtreme5/topnavbg.png When you hover over a menu item they give that button a background image of this ; http://www.xara.com/theme/xtreme5/topnavroll.png :hover states can be used for anything. Edited July 21, 201115 yr by Glowbridge
July 22, 201115 yr .topnav li a:hover, .topnav li.selected a {background-image:url('/theme/xtreme5/topnavroll.png'); color:#ffffff; background-repeat:repeat-x; text-decoration:none;} http://www.xara.com/theme/xtreme5/topnavroll.png
Create an account or sign in to comment