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/)
_______________________________________________
css-discuss [css-discuss@xxxxxxxxxxx]
http://three.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning
|