Results 1 to 3 of 3

Thread: Background-color Border stroke in hyperlinks

  1. #1
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Background-color Border stroke in hyperlinks

    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?

    Code:
    a:hover{background-color:#003366;color:#fff;text-decoration:none;}
    Thank you!

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    try adding something like this

    border: 1px solid #454545;

  3. #3
    Join Date
    Jan 2009
    Location
    NH
    Posts
    675
    Thanks
    98
    Thanked 26 Times in 26 Posts

    Default

    Thanks azoomer, that's looks pretty neat.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •