Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 09-24-2010, 04:30 PM
jacobsen1 jacobsen1 is offline
 
Join Date: Dec 2007
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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:


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:



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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:39 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.06346 seconds
  • Memory Usage 2,160KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete