Re: Control an element that is not child of the trigger

Hakon G:
> I think it would be useful if stylesheet could be used to affect an
> element that isn't necessarily a child of the trigger.

I'm not sure about it. It could significantly increase rendering time.

> (I have suggested the » character as the selector)

I don't think the WG is too keen about using such a character, which is
neither in US-ASCII nor easily to be entered on many keyboards, in

> a:hover » #label­  ­{ visibility: visible }
> #label { visibility: hidden }

> <a>Click here!</a>
> <span id="label">You're about to click on the link!</span>

For a similar use case with currently available techniques, see

Received on Tuesday, 13 May 2003 09:53:26 UTC