The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image link

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #25158

    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 MacKay

    a img { border:none; }

    let me know if it works :)


    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


    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)
  • The forum ‘CSS’ is closed to new topics and replies.