Forums

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
    Posts
  • #25158
    AlCapone
    Participant

    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

    #59098
    Rob MacKay
    Participant

    a img { border:none; }

    let me know if it works :)

    #59112
    AlCapone
    Participant

    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

    #59113
    AlCapone
    Participant

    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.