I am struggling to make the yellow background color appear with the nested divs in three separate columns. Can someone help me figure out what I am doing wrong?
<div id="wrapper">
<div class="rightside">
Test
</div>
<div class="rightside">
Test
</div>
<div class="rightside">
Test
</div>
</div>
Below is my CSS:
#wrapper {
background-color: yellow;
}
div.rightside {
width: 31%;
margin: 0 1.33333em 0 0;
display:inline;
float:left;
}
Check out my code on jsfiddle: http://jsfiddle.net/yPX5Q/2/
Thank you! Cheers