Wordpress: Want to remove underline from image link

Discussion in 'HTML & Website Design' started by mihirx, Apr 7, 2010.

  1. #1
    Hi friends, seems many newbie's like me have faced this problem (source: google) but I'm not able to find a working solution for mine.

    NOTE: My web-design partner is out of town, hence asking you guys for help :)

    I have an image link as "Featured Work" in footer area in my wordpress site www.acme.66ghz.com

    You will notice that it has underline, which I need to remove. I'm using wordpress widget "Text - Arbitrary text or HTML" and putting the following code in that:

    <a rel="prettyPhoto" href="http://www.youtube.com/watch?v=YAClHdPrWi4?width=792&amp;height=600"><img src="http://acme.66ghz.com/wp-content/uploads/2010/04/edi-11.jpg" alt="Featured Work" /></a>
    Code (markup):
    Please give me some solution so that the underline disappears from "Featured Work" image link.

    Just sharing if it might help:
    http://acme.66ghz.com/wp-content/themes/display/style.css
    http://acme.66ghz.com/wp-content/themes/display/css/style1.css

    - Thanks :)
     
    mihirx, Apr 7, 2010 IP
  2. mayflower

    mayflower Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mayflower, Apr 7, 2010 IP
  3. bavington

    bavington Peon

    Messages:
    74
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The underline is there because of the empty <span></span> tag that you have left after the image that is still inside the anchor <a></a>.

    Delete the span, or if you need it for the lightbox, wrap the span OUTSIDE the <a> tag.
     
    bavington, Apr 7, 2010 IP