Forums

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

Home Forums CSS Images borders in IE problem

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34964
    joelmb
    Member

    Hi guys. Yesterday I did a lot of work cleaning up my code on my site in order to make it xhtml strict compliant which amongst other things included removing border=”0″ on all images. All is fine in chrome, firefox, opera, safari…..

    Problem now is in [*insert expletive*] internet explorer, all images that are links have a border around them. I’ve tried adding {a img: border:0} in the stylesheet (main.css) which didn’t work. Can anyone tell me what else to try to cure this?

    http://mediamarble.com

    #89887

    In your CSS include the following (rather than a img { … }):

    img {
    border: 0;
    }

    #89889
    joelmb
    Member

    you’re a star, cheers!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.