css border problem

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-03-08T14:04:56Z Indexed on 2010/03/08 14:06 UTC
Read the original article Hit count: 369

Filed under:
|

For some reason I have a very ugly orange part of a border around a image.

Can anyone see why this is?

This is the HTML

<div class="preview">

            <a href="images/foto/full/280899624_6_5_j6.jpeg" title="Sportschool Raymond Snel" rel="lightbox"><img src="images/foto/full/280899624_6_5_j6.jpeg" alt="text" /></a>

</div>

This is the css

.preview {
    width: 85px; 
    height: 85px; 
    overflow: hidden;
    border: 3px solid #2e2a26;
    }

The color code = FF6a00 but appears only one time in the css file.

a {
    color: #ff6a00;
    text-decoration: none;
    border: 0px;
}

As you can see I already gave it a 0px, but for some reason the border is still there.

© Stack Overflow or respective owner

Related posts about css

Related posts about border