- From: Hakon G <hakon_@everyday.com>
- Date: Tue, 13 May 2003 07:24:50 -0400 (EDT)
- To: www-style@w3.org
Received on Tuesday, 13 May 2003 08:53:38 UTC
Here's a suggestion:
I think it would be useful if stylesheet could be used to affect an element that isn't necessarily a child of the trigger.
Something like this: (I have suggested the » character as the selector)
<head>
<style type="text/css">
a:hover » #label { visibility: visible }
#label { visibility: hidden }
</style>
</head>
<body>
<a>Click here!</a>
<br>
<span id="label">You're about to click on the link!</span>
</body>
And the #label could even be placed before the hyperlink.
Would this make sense?
Hakon
Received on Tuesday, 13 May 2003 08:53:38 UTC