View Single Post
Old 11-08-2012, 10:43 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,614
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Quote:
Originally Posted by Custard7A View Post
You are adding multiple classes in your HTML — as separated by spaces — but you don't need to reference the classes you're using together in the CSS.
Besides that, what the OP wrote is perfectly legal and should work. However, I see this:
Code:
<div class="promo_container"></div>
	<div class="promo one">
…
…
So this: .promo_container .promo {…} will never apply since the promos are not descendants of promo_container.
__________________
Don’t click this link!

Last edited by VIPStephan; 11-08-2012 at 10:45 PM..
VIPStephan is offline   Reply With Quote
Users who have thanked VIPStephan for this post:
3magdnim (11-09-2012)