vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   grid width help: (https://vborg.vbsupport.ru/showthread.php?t=251095)

jacobsen1 09-24-2010 04:30 PM

grid width help:
 
grid width help:

I'm working on setting up my CMS page a bit better and I need the right column/sidebar to be ~366px wide. I then want the main section to take the rest of the available space... How do I do this?

I've made a 2 column grid that I've flattened and set the right column to be 366px which works, but it's not aligned to the right?

here's what it looks like:
https://vborg.vbsupport.ru/external/2010/09/13.jpg

here's the code:
HTML Code:
HTML Code:

    <div id="doc3">
        <div id="bd">
            <div class="yui-g">
                <div class="yui-tvb-l60 first yui-panel">
                    <ul class="list_no_decoration" id="widgetlist_column1">$column[1]</ul>
                </div>
                <div class="yui-tvb-r40 yui-panel">
                    <ul class="list_no_decoration" id="widgetlist_column2"style="width:366px">$column[2]</ul>
                </div>
            </div>
        </div>
    </div>

I've also flattened a 1 column grid with a right sidebar and forced 366px for the sidebar's width, but that puts the sidebar UNDER the main content:

https://vborg.vbsupport.ru/external/2010/09/14.jpg

and here's the code for that:
HTML Code:

HTML Code:

    <div id="doc3" class="yui-tvb-r4">
        <div id="bd">
            <div id="yui-main">
                <div class="yui-b">
                    <div class="yui-u yui-panel">
                        <ul class="list_no_decoration widget_list" id="widgetlist_column1" >$column[1]</ul>
                    </div>
                </div>
            </div>
            <div class="yui-b yui-sidebar"style="width:366px">
                <ul class="list_no_decoration widget_list" id="widgetlist_column2">$column[2]</ul>
            </div>
        </div>
    </div>

I've left the grid using the 300px wide sidebar for now because it's the neatest solution, but I NEED to sort out the 366 width. You can see it with the 300px sidebar here:
http://newschoolofphotography.com/content/

the issue is the google ads, facebook widget and flickr widget all need more than the 300px the default sidebar gives me... I need to be able to set that width...

so what's the better way to solve the problem? Fixing the 2 column layout or setting the wifth of a sidebar?

Thanks,
Ben


All times are GMT. The time now is 12:31 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.01115 seconds
  • Memory Usage 1,721KB
  • 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
  • (2)bbcode_html_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