Re: HTML gurus!
Posted: Thu Oct 28, 2010 6:12 pm
Thanks for all the terrific help everyone! 
Code: Select all
<html>
<head>
<style type="text/css">
<!--
#table {display:table; font-family:Verdana; font-size:14px; width:500px; border:solid 1px #000;}
#heading {font-weight:bold; font-size:16px; text-align:center;}
.row {display:table-row;}
.yellow {display:table-cell; border:solid 1px #000; background-color:yellow;}
.blue {display:table-cell; border:solid 1px #000; background-color:blue;}
.purple {display:table-cell; border:solid 1px #000; background-color:purple; text-align:center; color:red;}
-->
</style>
</head>
<body>
<div id="table">
<div id="heading" class="row">
<span class="blue">Month</span>
<span class="yellow">Savings</span>
</div>
<div class="row">
<span class="blue">January</span>
<span class="yellow">$100</span>
</div>
<div class="row">
<span class="purple">February</span>
<span class="purple"></span>
</div>
<div class="row">
<span class="blue">March</span>
<span class="yellow">$300</span>
</div>
</div>
</body>
</html>