Why is this not working?
<div class="homePrizes">
<div class="homeCredit">
1250 Points
</div>
<div class="homePrize">
Prize1
</div>
</div>
CSS:
.homePrizes {
clear:both;
width:100%;
line-height:30px;
}
.homeCredit {
font-size:14px;
color:#F90;
font-weight:bold;
float:left;
}
.homePrize {
font-size:14px;
color:#000;
float:right;
}
.homePrizes:hover {
background-color:#FC6;
}
Thanks!
.homePrizesdoes not take up any space. You have to manually set a height for.homePrizesor align it differently.