SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Nov 2008
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to remove this underline

    Hi Im getting an underline when i hover on images in this gallery http://tinyurl.com/y79hora how can i remove that? thanks

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,608
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    This is what's causing it:

    Code:
    #content-main a:hover {
    	border-bottom: 1px solid; 
    	padding-bottom: 1px;
    }
    You could add a more specific rule to override that:

    Code:
    #content-main .ngg-thumbnail a:hover {
    	border-bottom: none; 
    	padding-bottom: 0;
    }

  3. #3
    SitePoint Guru
    Join Date
    Nov 2008
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks ralph

  4. #4
    Non-Member
    Join Date
    Apr 2010
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,

    You just put the code in CSS

    text-decoration: none;

  5. #5
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by casius View Post
    Hello,

    You just put the code in CSS

    text-decoration: none;
    Unfortunately that would not work in this instance. As Ralph pointed out above the issue was that the border-bottom property was set, not text-decoration.


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
  •