Scribbller
12-10-2006, 04:34 AM
I am developing a new design for my current site and I see that the header width 770 and the table below (which contains three columns of left, center and right modules) is are not aligning up properly.
http://www.nauman.info/cmps_index.php
you can see that the header width outstretches the width of the tables below by a few px on either side
On the other hand on forum homepage
http://www.nauman.info/ppdev/
no such thing occurs
The code in the adv_portal goes like this
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>
$headinclude
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>
</head>
<body>
<div align="center">
$header
$navbar</div>
<table align ="center" width="770" border="0">
<tr>
<td valign="top" width="155" rowspan="2">$home[leftblocks]</td>
<td width="0" rowspan="2"></td>
<td align="right" colspan="3"><img alt="Current Tour" src="http://www.nauman.info/ppdev/images/banners/tour_logo.jpg"></img></td>
</tr>
<tr>
<td valign="top" width="460">$home[centerblocks]</td>
<td width="0"></td>
<td valign="top" width="155">$home[rightblocks]</td>
</tr>
</table>
<div align="center">$footer</div>
</body>
</html>
http://www.nauman.info/cmps_index.php
you can see that the header width outstretches the width of the tables below by a few px on either side
On the other hand on forum homepage
http://www.nauman.info/ppdev/
no such thing occurs
The code in the adv_portal goes like this
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>
$headinclude
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>
</head>
<body>
<div align="center">
$header
$navbar</div>
<table align ="center" width="770" border="0">
<tr>
<td valign="top" width="155" rowspan="2">$home[leftblocks]</td>
<td width="0" rowspan="2"></td>
<td align="right" colspan="3"><img alt="Current Tour" src="http://www.nauman.info/ppdev/images/banners/tour_logo.jpg"></img></td>
</tr>
<tr>
<td valign="top" width="460">$home[centerblocks]</td>
<td width="0"></td>
<td valign="top" width="155">$home[rightblocks]</td>
</tr>
</table>
<div align="center">$footer</div>
</body>
</html>