vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Aligning content (https://vborg.vbsupport.ru/showthread.php?t=171839)

Yours Truly 03-01-2008 08:18 PM

Aligning content
 
Here is the code im using:

Code:

$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 [DATE]1204475083[/DATE] at [TIME]1204475083[/TIME] ---------------

Anybody? :)


All times are GMT. The time now is 01:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete