Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on the meaning of * * selector  RSS feed

 
William Rouse
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this listing in a CSS file.
mainNav,#secondaryContent {
padding-top: 20px;
padding-bottom: 20px;
}

#mainNav *,#secondaryContent * {
padding-left: 20px;
padding-right: 20px;
}

#mainNav * *,#secondaryContent * * {
padding-left: 0;
padding-right: 0;
}

I take the second selector to mean everything that is in maninNav and secondaryContent should have the following rules.

What does the third selector with the double * mean?
Thanks!
WBR
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
means any tag any tag

div * *

div ul li

Not sure about support of *
Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!