Cross Browser User-Select Reset [CSS3]

This snippet disables content selection on all elements and then re-enables it for common text elements in ASIDE or ARTICLE (and a few other) contexts. If you want images to be selected, change : text; to : all;

[EDIT] Mozilla blocks all children from overriding unless you use -moz-none for the value. Even so I found it to muck up the user experience so I’ve tweaked the code below to allow selection for Mozilla on everything by default except elements inside NAV tags.

The example below relies on CssCrush to get all the cross-browser extensions. If you don’t use it then just add lines for the browser prefixes -moz-, -khtml-, -webkit-, -o-

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to LinkedIn Post to StumbleUpon Post to Technorati