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

2014-09-11 Thread MiB
sep 11 2014 05:19 Tom Livingston tom...@gmail.com: Reading this over again, a href=img src=myimg.jpg //a wouldn't have any text-decoration anyway. If you write compliant code it would, at least in a non webkit browser like Firefox: a href=#img src=myimg.jpg alt=”My Image /a

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

2014-09-11 Thread Philippe Wittenbergh
Le 11 sept. 2014 à 18:56, MiB digital.disc...@gmail.com a écrit : sep 11 2014 05:19 Tom Livingston tom...@gmail.com: Reading this over again, a href=img src=myimg.jpg //a wouldn't have any text-decoration anyway. If you write compliant code it would, at least in a non webkit browser

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

2014-09-11 Thread Tom Livingston
I guess you would if the images wasn't found. Alt text would get decorated? Can't check right now. On Thursday, September 11, 2014, Philippe Wittenbergh e...@l-c-n.com wrote: Le 11 sept. 2014 à 18:56, MiB digital.disc...@gmail.com javascript:; a écrit : sep 11 2014 05:19 Tom Livingston

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

2014-09-11 Thread MiB
sep 11 2014 13:26 Philippe Wittenbergh e...@l-c-n.com: Le 11 sept. 2014 à 18:56, MiB digital.disc...@gmail.com a écrit : sep 11 2014 05:19 Tom Livingston tom...@gmail.com: Reading this over again, a href=img src=myimg.jpg //a wouldn't have any text-decoration anyway. If you write

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

2014-09-11 Thread MiB
sep 11 2014 13:33 Tom Livingston tom...@gmail.com: I guess you would if the images wasn't found. Alt text would get decorated? Can't check right now. That is what is happening and is on spec as far as I know. __ css-discuss

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

2014-09-11 Thread Tom Livingston
...and it's wrapped in an a. On Thursday, September 11, 2014, Tom Livingston tom...@gmail.com wrote: -- Forwarded message -- From: *MiB* digital.disc...@gmail.com javascript:_e(%7B%7D,'cvml','digital.disc...@gmail.com'); Date: Thursday, September 11, 2014 sep 11 2014

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

2014-09-11 Thread Philippe Wittenbergh
Le 11 sept. 2014 à 20:40, MiB digital.disc...@gmail.com a écrit : Isn’t it obvious that alt text will be shown when there image isn’t? Oh, indeed; in that case the alt text should be visible, and decorated. (It wasn't clear to me from the context of this thread that you were talking about

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

2014-09-11 Thread Philip Taylor
Philippe Wittenbergh wrote: Note that Firefox more often than not crops the alt text to the size of the image. Which (with the greatest respect) it cannot know, since the image is missing in the scenario under discussion. What I suspect it does (if it does anything aberrant) is to crop

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

2014-09-11 Thread John
On Sep 10, 2014, at 7:31 PM, Karl DeSaulniers k...@designdrumm.com wrote: Yep, just tested this theory and it worked for me. Wrap your images you dont want a border on in a div and put this css. CSS img:only-child { border-bottom:0px dotted rgb(0,0,0) !important; } HTML

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

2014-09-11 Thread Karl DeSaulniers
CSS = Cascading Style Sheets Cascading from top to bottom. What comes after will always override unless important or inline. Best, Karl Sent from losPhone On Sep 11, 2014, at 8:45 AM, John j...@coffeeonmars.com wrote: On Sep 10, 2014, at 7:31 PM, Karl DeSaulniers k...@designdrumm.com

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

2014-09-11 Thread Philip Taylor
Karl DeSaulniers wrote: CSS = Cascading Style Sheets Cascading from top to bottom. What comes after will always override unless important or inline. Or less specific. Philip Taylor __ css-discuss

[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