View Full Version : Make it use the whole page to the left and right
BrentWilson
05-12-2005, 06:07 PM
http://www.mustangevolution.com/
You can see that at the far left and right there is white space after the left and right column. How do I make the left and right column cover the whole page?
Brian
05-12-2005, 06:51 PM
You would need to edit your 'adv_portal' template and change the cellpadding/cellspacing of the main table there.
Hyrel
05-12-2005, 08:09 PM
I'm having a similar problem or at least i think that it is. But when I checked the main table it was set to 100% with padding and spacing both set to '0'. So how do I get my colums to span the full width to the side of the page?
www.mykleekai.com
BrentWilson
05-15-2005, 02:28 AM
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle] - Ford Mustang Online Resource</title>
$headinclude
</head>
<body>
$header
<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<if condition="$show['left_column']">
<td bgcolor="#F2F2F2" width="$vba_options[portal_leftcolwidth]" style="border-right: 1px groove #00235D; border-left-width: 1; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
$home[leftblocks]
</td>
<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->
</if>
<if condition="$show['center_column']">
<td valign="top">
$home[centerblocks]
</td>
</if>
<if condition="$show['right_column']">
<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->
<td bgcolor="#F2F2F2" width="$vba_options[portal_leftcolwidth]" style="border-left: 1px groove #00235D; border-left-width: 1; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
$home[rightblocks]
</td>
</if>
</tr>
</table>
$footer
</body>
</html>
Already done and still the same.
JohnBee
05-15-2005, 10:50 AM
I just removed (moved all modules) from left & right columns to the center.
and everything spanned full width afterwards.
BrentWilson
05-16-2005, 02:06 PM
bump :)
Brian
05-16-2005, 04:35 PM
It looks like the spacing is coming from your header template. If you don't want it to be uniform with your forums then you could probably replace "$spacer_open" with "<if condition="THIS_SCRIPT == 'adv_index'">$spacer_open</if>" in your header template.
BrentWilson
05-17-2005, 02:02 AM
It looks like the spacing is coming from your header template. If you don't want it to be uniform with your forums then you could probably replace "$spacer_open" with "<if condition="THIS_SCRIPT == 'adv_index'">$spacer_open</if>" in your header template.
Well that worked but it also made the forums stretch all the way across as well.
Brian
05-17-2005, 11:41 AM
Sorry, I wasn't thinking... Replace == there with !=
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.