2 Replies Latest reply on Jun 27, 2010 1:49 PM by Szaint

    Removing Borders From All Images

    Szaint Level 1

      I was informed that I could remove the border from all images on my site with this code:

       

      a img { border: none; }

       

      I added that line to my CSS but it didn't work. Any Ideas? My CSS is below:

       

      a:link {

      text-decoration: none;

      color: #900;

      background: transparent;

      }

      a:visited {

      text-decoration: none;

      color: #006;

      background: transparent;

      }

      a:hover {

      text-decoration: none;

      color: #F00;

      background: transparent;

      }

      a:focus {

      text-decoration: none;

      color: #fff;

      background: #6196BC;

      }

      a:active {

      text-decoration: none;

      color: #600;

      background: transparent;

      }

      a:img {

      border: none;

      }