Trasion
10-04-2009, 02:56 PM
Why won't my body align to the center? It was, until I added that page border.
http://img251.imageshack.us/img251/4420/vbulletinnwhattt.jpg
Here's my header template:
<br /><br /><br /><br /><br />
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<div class="page_surroundb" align="center">
<!-- content table -->
$spacer_open
$_phpinclude_output
Here's my "page_surroundb" class:
.page_surroundb
{
align: center;
width: 900px;
border-left:1px solid #000000;
border-right:1px solid #000000;
border-bottom:0px;
border-top:0px;
}
How can I have it align to the center again?
Live preview: http://trasion.com/
http://img251.imageshack.us/img251/4420/vbulletinnwhattt.jpg
Here's my header template:
<br /><br /><br /><br /><br />
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<div class="page_surroundb" align="center">
<!-- content table -->
$spacer_open
$_phpinclude_output
Here's my "page_surroundb" class:
.page_surroundb
{
align: center;
width: 900px;
border-left:1px solid #000000;
border-right:1px solid #000000;
border-bottom:0px;
border-top:0px;
}
How can I have it align to the center again?
Live preview: http://trasion.com/