PDA

View Full Version : Aligning content


Yours Truly
03-01-2008, 08:18 PM
Here is the code im using:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="http://www.w3.org/1999/xhtml">
<head>
<if condition="$pages['name'] == 'home'">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</if>

<title>$vboptions[hometitle] - Honda Owners Club <if condition="$pagetitle">- Honda $pagetitle</if></title>

$headinclude

</head>
<body>

$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]"<if condition="$show['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
$home[leftblocks]
</td>
</if>
<td width="75%" valign="top">
$home[adblocks]
</td>
</tr>
<tr valign="top">
<td width="37%" style="padding-$stylevar[right]: $vba_style[portal_colspacing]px">
$home[hotmblocks]
</td>
<td width="38%" valign="top">
$home[adblocks]
</td>
</tr>
</table>
<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-$stylevar[left]: $vba_style[portal_colspacing]px"</if>>
$home[rightblocks]
</td>
</if>
<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-$stylevar[left]: $vba_style[portal_colspacing]px"</if>>
$home[right2blocks]
</td>
</if>
</tr>
</table>

$footer

</body>
</html>

And here is where this code is: http://www.scenecivic.net/cmps_index.php

What i would like to do is get the "Honda of the Month" and "Advertisements" blocks below the search forums box to sit next to the left column under the Advertisements blocks. The right advertisement block is 75% so i would like the "Honda of the Month" and "Advertisements" blocks to be 38% and 37% respectively. Can anyone lend me a hand getting this to work? :)

Cheers

--------------- Added 1204475083 at 1204475083 ---------------

Anybody? :)