View Full Version : Change Column center width
Paulo
08-03-2005, 02:37 PM
How can I change the column width of the center so that it's automatically, not fixed.
As on this site.
Thank you
Brian
08-03-2005, 03:51 PM
Just edit your adv_portal template and change the width of the middle table cell.
Paulo
08-03-2005, 03:59 PM
Can you explain with the code please
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[hometitle] <if condition="$pages['name'] == 'home'"> - Accueil</if> <if condition="$pagetitle">- $pagetitle</if></title>
</head>
<body$onload>
$header
$navbar
<table align="center" class="page" cellspacing="0" cellpadding="0"width="100%">
<tr valign="top">
<if condition="$show['left_column']">
<td width="$vba_style[portal_leftcolwidth]">
$home[leftblocks]
</td>
<!-- Spacer Cell -->
<td width="$vba_style[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_style[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_style[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_style[portal_colspacing]" /></td>
<!-- / Spacer Cell -->
<td valign="top" width="$vba_style[portal_rightcolwidth]">
$home[rightblocks]
</td>
</if>
</tr>
</table>
$footer
</body>
</html>
Brian
08-03-2005, 05:17 PM
<if condition="$show['center_column']">
<td valign="top">
Add a width="X" tag to that <td> tag.
Paulo
08-03-2005, 05:33 PM
ok thank you
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.