my problem is simple. I've put my code on this fiddle: http://jsfiddle.net/G79X9/61/
.historyContainer{
margin-top: 45px;
width: 856px;
margin: 29px auto;
}
.depositContainer :nth-child(even)
{
background-color: green;
}
.depositContainer :nth-child(even)
{
background-color: red;
}
.withdrawContainer :nth-child(even)
{
background-color: red;
}
.withdrawContainer :nth-child(even)
{
background-color: green;
}
.offerHistory1{
width: 50%;
float: left;
text-align: center;
background-color: #cdc;
}
.offerHistory2{
width: 50%;
float: left;
text-align: center;
background-color: #dcd;
}
.depositHistory{
width: 50%;
float: left;
}
.withdrawHistory{
width: 50%;
float: right;
}
I just want the divs background to be "stripped"(one with one color and the other with another color). I thought this should work but it isn't.