Log in

View Full Version : Background-color Border stroke in hyperlinks



FloydTheBarber
03-14-2011, 10:45 AM
Hi, can someone help me achieve what http://washingtondc.ebayclassifieds.com/ does when you highlight a category. They have a stroke around the background-color. What is the syntax to do this with CSS?


a:hover{background-color:#003366;color:#fff;text-decoration:none;}

Thank you!

azoomer
03-14-2011, 11:33 AM
try adding something like this

border: 1px solid #454545;

mlegg
03-14-2011, 09:01 PM
Thanks azoomer, that's looks pretty neat.