align right / left on same line

liunx

Guest
i want to do this in CSS:


<table>
<tr>
<td align="left">Aligned left.</td>
<td align="right">Aligned right.</td>
</tr>
</table>


Basically text in the same line, some aligned on the right, some aligned on the left.

Things like this didn't work for me...


<style>
.textAlignRight { text-align: right}
.textAlignLeft { text-align: left}
</style>
...
<div class="textAlignLeft">LEFT TEXT
</div>
<div class="textAlignRight">
<input type="Submit" name="Search/Refresh3" value="Search">
<input type="Submit" name="Search/Refresh2" value="Clear All">
</div>


Both those div's are in a single <td> tag.never mind. i tried to delete this post but i can't. i used float:left; and float:right; in <div> tags.
 
Back
Top