In article <88**************************@posting.google.com > in
comp.infosystems.
www.authoring.stylesheets, wooks
<wo****@hotmail.com> wrote:
I have a very simple stylesheet attached to an html file as below.
body {color: darkgray; visibility: hidden}
span {color: black; visibility: visible}
The objective is to only display text within span tags. However when I
render the html nothing is visible so it would seem that that the
visibility override on the span tags is not taking effect.
Can anybody shed light on this?
Gee, if only you'd given us a URL. I might have tinkered a bit with
_your_ example, but I'm not motivated enough to construct one myself
from scratch.
Failing that, I can only suggest you tinker with specificity by
replacing "span" with "body span". Maybe that will do it.
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec:
http://www.w3.org/TR/html401/
validator:
http://validator.w3.org/
CSS 2 spec:
http://www.w3.org/TR/REC-CSS2/
2.1 changes:
http://www.w3.org/TR/CSS21/changes.html
validator:
http://jigsaw.w3.org/css-validator/