Den 11.09.2014 03:22, skrev John:
at the beginning of my css, I have this:

a img{
        border:none;
}

However, I am finding that my linked images have my link attribute which is 
border-bottom:1px dotted black.

Why is the a img rule being ignored/overwritten?

The border is on the link, not the image.

If you don't want borders on links with images in them, you can add a class to those links that states that.

Example:
[a class="img"] [img href="..." alt="..."] [/a]

a.img {border: none;}

regards
        Georg

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to