PDA

View Full Version : Picture alignment


grrttwgnr
07-30-2003, 07:19 PM
How do i make it so a table and a pic are aligned horizantely and the table is off to the rite and the pic is centered?

Coreyp_1
07-30-2003, 09:14 PM
In HTML, do something like this.

Put the table and the pic you want centered between the <center></center> tags, and put "align=right" in the <table> tag. Be sure to put the table in first... otherwise the table will be positioned below the pic instead of directly to the right.


<center>
<table align=right>
<tr>
<td>
I'm in a table.
</td>
</tr>
</table>
<img src="pic.jpg">
</center>


There are other ways (namely using CSS) to do this, but I was going for a simple approach.

HTH!