View Single Post
Old 10-04-2012, 11:10 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,448
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
E + F Matches any F element immediately preceded by a sibling element E.

So the CSS you are asking about is targetting the div immediately following the end of an element that has class="class1" or class="class2"

for example the div in the following code:

<p class="class1">text</p><div>something</div>
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote