On Mar 6, 2010, at 12:04 AM, Sjur Moshagen wrote: > The other thing i missed was the need to use double colons, like ::before - I > tried only ':before'. What's the reason? When used directly with an element > only a single colon (like :before) is needed.
CSS2.1 vs CSS3 notation as Tim pointed out. Functionally there is no difference (my test case works equally well with either one of them). Note that IE 8 only supports css2.1 notation. http://www.w3.org/TR/css3-selectors/#pseudo-elements Note also this sentence: [quote] Only one pseudo-element may appear per selector, and if present it **must appear after** the sequence of simple selectors that represents the subjects of the selector. [/quote] Philippe --- Philippe Wittenbergh http://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/
