Previous Message
Next Message

RE: [css-d] Text-decoration in :after content

Sent by Eric A. Meyer on 29 September 2002 15:03


At 18:01 -0700 9/28/02, Moira Burke wrote:

>Is there some way to select all links EXCEPT linked images?

    Not without adding a class to links that contain only images, or 
using some non-CSS Mozilla-only bits.  The first method, which is a 
lot more practical in terms of browser behavior but annoying to have 
to do when authoring, would be something like this:

    a.imgonly {...styles to prevent decoration/borders here...}

    <a href="blah.html" class="imgonly"><img serc="blah.gif" /></a>

>Both of the following worked on the screen, but caused the URL underline
>to reappear in the printed version:
>
>a * [] { /* text-decoration and border-bottom stuff */ }
>a !img { /* stuff */ }

    The second line isn't valid CSS, so it shouldn't have done 
anything.  How did it work, and in which browser?

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread:

Possibly related: