<td> align left then right

liunx

Guest
If I have a table cell<td> with align=left atribute <td align=left> could I have an specific object in that cell that is aligned right?<br />
<br />
<td align=left><br />
bla bla <br />
<align=right><br />
<img src><br />
</td><br />
<br />
I don't want to have two cells, is there a way to make this work? Thanks in advance.<!--content-->Try:<br />
<td align=left><span style="float: right">B</span></td><!--content-->Jahu,<br />
<br />
Depending on how complex the desired text alignment is, it may become necessary to nest a table into the TD. Adding to your example:<br />
<br />
<td align=left><br />
<table border=0 width=100%><br />
<tr><td><br />
bla bla<br />
</td><td align=right><br />
<img src=http://www.htmlforums.com/archive/index.php/"foo.jpg"><br />
</td></tr><br />
</table><br />
</td> <br />
<br />
I have sometimes used this technique to make tables almost seem like images. There are several of them at the GlossPinion (<!-- m --><a class="postlink" href="http://home.cfl.rr.com/rickyworld/vp/glosspinion.html">http://home.cfl.rr.com/rickyworld/vp/glosspinion.html</a><!-- m -->).<!--content-->
 
Back
Top