View Full Version : Aligning several tables


bb_blu
07-05-2003, 06:03 AM
I am using Greymatter. There are several tables that will be on top of each other..but how do I get them all to align to the center of the page? I can't personally align each of them because they appear as I make a new post. This is what it looks like: http://stylephox.net/tia/cgi-bin/? but i want everything to be centered.

<table border="0" bordercolor="#ffffff" cellpadding="0" cellspacing="0" width="278" id="AutoNumber1">
<tr>
<td width="100%" bgcolor="#ffffff"><b><font face="book antiqua" style="font-size:11">{{monthwordupper}} {{day}}, {{yearyear}}</</font></b></td>
</tr>
<tr>
<td width="100%" bgcolor="#E1EFFC">
<p align="justify"><font face="book antiqua" style="font-size:11">{{entrymainbody}}<br><br>
<p align=right><b>Tia</b> - {{commentslink}}</p>
</tr>
</table>

thelasttimenj
07-05-2003, 11:58 AM
this is pretty simple, you just needed <div align="center"> tags

change top of ur code to this

<div align="center">
<img src="http://stylephox.net/tia/x25.gif"border="0"align="center"><br><br>
<table border="0" bordercolor="#ffffff" cellpadding="0" cellspacing="0" width="278" id="AutoNumber1">
<tr>
<td width="100%" bgcolor="#ffffff"><b><font face="book antiqua" style="font-size:11">JULY 2, 2003</</font></b></td>
</tr>


change end of ur code to this

<td align="center"><font face="arial" style="font-size:11">
<A HREF="http://stylephox.net/tia/cgi-bin/archives/">archives</A> | <a href="http://noahgrey.com/greysoft"target="_blank">greymatter</a> | <a href="http://gyrl.net"target="_blank">smilies</a></font>
</td>
</tr>
</table>
</div>