Advanced Search

Results 1 to 2 of 2

Thread: styling image links

  1. #1
    Join Date
    Aug 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default styling image links

    My issue is that I have a few image links all located within the same div. Right now all links within that div are styled in such a way so as to add a 1px dotted underline and then on hover it changes to a 1px solid line. What I'm finding is that my image links also end up with that same styling like all other links in that div, ie., 1px dotted border, etc.

    What is the correct way to remove such styling from those image links to where all that shows is just the button and not that underlining?

    Thanks

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Add this to your CSS code:
    Code:
    a img {
    border: none;
    }
    Good luck!
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

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
  •