Jørgen Farum Jensen wrote:
 > Is there any difference at all between
 > * #leftcol {font-family:arial,sans-serif;}
 > and
 > #leftcol * {font-family:arial,sans-serif;}

Definitely!

The first example targets #leftcol _inside_ _any_ element, but *only*
#leftcol (and elements inside #leftcol). Use of the universal selector
makes no other sense than that it adds specificity to the plain
ID-selector.

The second example targets _any_ element _inside_ #leftcol, but *not*
#leftcol itself. Use of the universal selector makes perfect sense if
you want to target all elements inside another.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to