Previous Message
Next Message

Possible to have No highlight?

Sent by Richard York on 28 July 2004 10:10


Eric A. Meyer wrote:
> At 19:05 -0600 7/26/04, Zero wrote:
> 
>> Is it possible to not allow a user to highlight text?
> 
>    In theory, the :selection pseudo-class would allow you to change the 
> style of a selection so that it was, in affect, invisible-- unless of 
> course the user defined a style that overrode yours.  In practice, this 
> isn't really possible.

I've read that Safari and MSN for OS X support [1] the ::selection [2] 
pseudo-element, it is a pseudo-element, right? ;-) But I haven't a Mac 
to test it on. I've also read that the properties allowed to style 
selection text is also limited as is outlined in the W3C doc referenced 
below. Though I would agree with other sentiments, messing with the UI 
in such a way is annoying, but hey it's your page right!

[1] http://www.macedition.com/cb/resources/css3support_selectors.html
[2] http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#UIfragments

Regards,
Richard York

-- 
:::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
:::::::::::::::::::::::::::::::::::::::::
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: