[css-d] a img tag being overwritten?

2014-09-10 Thread 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? Page is here:

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Georg
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,

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Karl DeSaulniers
On Sep 10, 2014, at 8:22 PM, John j...@coffeeonmars.com wrote: 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

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread John
On Sep 10, 2014, at 6:49 PM, Georg ge...@gunlaug.com 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;}

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Karl DeSaulniers
On Sep 10, 2014, at 9:17 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Sep 10, 2014, at 8:22 PM, John j...@coffeeonmars.com wrote: 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

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Tom Livingston
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

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Karl DeSaulniers
On Sep 10, 2014, at 9:20 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Sep 10, 2014, at 9:17 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Sep 10, 2014, at 8:22 PM, John j...@coffeeonmars.com wrote: at the beginning of my css, I have this: a img{ border:none; }

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Karl DeSaulniers
On Sep 10, 2014, at 9:22 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Sep 10, 2014, at 9:20 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Sep 10, 2014, at 9:17 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Sep 10, 2014, at 8:22 PM, John j...@coffeeonmars.com

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread John
On Sep 10, 2014, at 7:21 PM, Tom Livingston tom...@gmail.com wrote: The a is a stylable element independent of the img. OK..then would that mean that an empty a tag would have an underline? a class=“has-border-bottom” href=“#”/a ^^ this would produce the bottom border of some length, even

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Tom Livingston
On Wed, Sep 10, 2014 at 10:32 PM, John j...@coffeeonmars.com wrote: On Sep 10, 2014, at 7:21 PM, Tom Livingston tom...@gmail.com wrote: The a is a stylable element independent of the img. OK..then would that mean that an empty a tag would have an underline? a class=“has-border-bottom”

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread John
On Sep 10, 2014, at 8:11 PM, Tom Livingston tom...@gmail.com wrote: This is actually valid in some cases as some email clients (and older browsers maybe, I can't recall right now) will add a blue border around images that are wrapped in an a. But that's different than what you originally

Re: [css-d] a img tag being overwritten?

2014-09-10 Thread Tom Livingston
On Wed, Sep 10, 2014 at 11:11 PM, Tom Livingston tom...@gmail.com wrote: On Wed, Sep 10, 2014 at 10:32 PM, John j...@coffeeonmars.com wrote: On Sep 10, 2014, at 7:21 PM, Tom Livingston tom...@gmail.com wrote: The a is a stylable element independent of the img. OK..then would that mean