View Full Version : Text Alignment


Shaneo
04-24-2003, 09:09 AM
My problem is as follows..

I've got a table with some text on the left and anyway i wanna get a Back To Top thing on far right of the table instead of next to text on the left but i can't seem to be able to do it unless i put it on another line which i don't want to do.. I know about &npsb; but i would have to use a tonn of them plus on my propper page i'm going to be having lots of these tables so &npsb; isn't really an option :)

To see what i mean click here (http://www.sa86net.com/~shaneo/help/)..

epolady
04-24-2003, 09:21 AM
Try this

<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
<td height="23" background="_tile_back.gif" align="left" style="border: 1px solid black;">
<div style="margin-left:3px;"><font size="2" color="black"><b>Roswell Rulz =o)</b></font></td>
<td height="23" background="_tile_back.gif" align="right" style="border: 1px solid black;">
<font size="1"><a href="#top">Back to top</a></font></td></tr>

<tr><td background="table_back.jpg" style="border-right: 1px solid black;border-left: 1px solid black;border-bottom: 1px solid black;" colspan="2"><font size="2">
<img src="roswell.jpg" style="border-left: 1px solid black;" align="right" hspace="0" vspace="0" width="212" height="120"><br>
<div style="margin-left:5px">
What i'm trying to do is get that Back To Top thing on far right of the table instead of next to Roswell writting on
the left but i can't seem to be able to do it unless i put it on anothetr which i don't want to do.. Can someone
please help, thanks :)</div>
</td></tr></font></td></tr></table></td></tr></table>

You'll have to modify the 'back to top' cell (the borders) but you can figure that out. Good luck.

Shaneo
04-24-2003, 09:45 AM
Thanks heaps epolady :D I got it to work No Advertising :D

Not that i don't appreciate epo's help and all but does anyone else know of a another way that doesn't involve adding another column or row to the table?