On Nov 1, 2007, at 5:58 AM, Micky Hulse wrote: > Just wondering why the W3C documentation for selectors [1] some > patterns > that use :: and others that use :? > > For example, ::before... I have always seen examples that only use one > :, not ::. > > I assume that I am just not understanding the intent/rules of the > documentation.
CSS2.1 selectors uses the same syntax for both pseudo-classes and - elements. But CSS selectors introduces the different syntax <http://www.w3.org/TR/css3-selectors/> The single column syntax is for pseudo-classes. :link, :root, :target, :nth-child(), :not(), etc double columns are for pseudo-elements ::first-letter, ::first-line, ::selection, ::before, etc Most relatively recent browsers understand the CSS Selectors syntax (even unintentionally, as IE 6). (that is, if they understand the selector). BTW, your link to CSS selectors points to an outdated document. Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
