Hello, I am still learning how to create CSS tables and I did a little bit myself but need help with one thing please. The following code displays the way I want, but could you please remove the <table> stuff from the following code and replace it with CSS?
CSS:
Code:
/* Member page rows */
.Member {
float: left;
margin: 10px 10px 0px 10px;
font-size : 13px;
width: 260px;
overflow: hidden;
}
.MemLeft {
float: left;
width: 68px;
height: 22px;
}
.MemRight {
overflow:hidden;
height:22px;
}
HTML:
Code:
<div class="Member">
<table>
<tr>
<td width="70" rowspan="2"><a href="/48"><img src="/images/default_user.jpg" alt="" id="fImage" /></a> </td>
</tr>
<tr>
<td width="240" valign="top"><div class="MemLeft">Username:</div>
<div class="MemRight"><a href="/48">Tester 1</a></div>
<div class="MemLeft">Amount:</div>
<div class="MemRight"><b>$15.00</b></div>
<div class="MemLeft">Joined:</div>
<div>07-26-2009</div></td>
</tr>
</table>
</div>
<div class="Member">
<table>
<tr>
<td width="70" rowspan="2"><a href="/17"><img src="/images/default_user.jpg" alt="" id="fImage" /></a> </td>
</tr>
<tr>
<td width="240" valign="top"><div class="MemLeft">Username:</div>
<div class="MemRight"><a href="/17">Tester2</a></div>
<div class="MemLeft">Amount:</div>
<div class="MemRight"><b>$5.00</b></div>
<div class="MemLeft">Joined:</div>
<div>07-21-2009</div></td>
</tr>
</table>
</div>
Basically so that it would be all CSS based instead of using a basic table, tr, and td rows. Thanks a lot
