The <a> is a stylable element independent of the img.


On Wednesday, September 10, 2014, John <j...@coffeeonmars.com> wrote:

>
> On Sep 10, 2014, at 6:49 PM, Georg <ge...@gunlaug.com <javascript:;>>
> wrote:
>
> > 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;}
>
> Thank you, Georg; I made an .img class per your example and that had no
> effect, but I’m puzzled by something  you said that the border is on the
> link not image; isn’t the stuff between the opening and closing a tags the
> “link?”  Be that a word or an image?
>
> I do get the idea you’re talking about and maybe something is overrulling
> my rules?
>
> John
>
> ______________________________________________________________________
> css-discuss [css-d@lists.css-discuss.org <javascript:;>]
> 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/
>


-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
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