Grow your CSS skills. Land your dream job.

image link

  • # June 15, 2009 at 2:38 pm

    Hi, i have a png image which is also a link to another page – <a href….. But in the browser it has a purple border around it, how to i remove this?

    I have tried, border: none; and border: 0px;

    If, in the stylesheet i put, a { color:white; }, it is affected by it and changes from purple to white, but i cant get it to disappear.

    Any Help?

    Many Thanks
    Chris Bull

    Rob
    # June 15, 2009 at 4:56 pm

    a img { border:none; }

    let me know if it works :)

    # June 16, 2009 at 5:52 am

    Nope, but if i put, a img {border:dashed;} it goes dashed so it is being referanced, just not taking affect to border:none….

    Any more ideas – And thanks for the reply

    # June 16, 2009 at 6:12 am

    Woooo, nevermind, i needed to apply the boreder none to the image class rather than the a class.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".