Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 12-19-2010, 04:57 PM
gregmlb gregmlb is offline
 
Join Date: Dec 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could use a bit more input. What I've found is that, structurally, the following additional.css seems to work the best:

Code:
#forumFill{
background-image: none;
background-repeat: repeat-x;
width: 100%;
margin-right: auto;
margin-left: auto;
}

#forumL{
background-image: none;
background-repeat: no-repeat;
width: 0px;
float: left;
}

#forumC {
background-image: none;
background-repeat: no-repeat;
margin-left:175px;
float: left;
}
***Using the above, the left-side margin / column stays at 175px no matter how wide the browser, etc. … which is exactly what I want.***

HOWEVER, after I insert my HTML/javascript into the navbar template, what I see is the following:



and



So the google ads look fine, but the addthis.com widget, RSS, and even the "Testing 123" text are compressed into a narrow display that is far less than the 175px margin-left in forumC.

Now you might say to just increase the forumL width to 175px (from 0px) … and I've done that, and it does allow the addthis.com, RSS link, and "Testing 123" text to stretch to the right BUT all sorts of odd things happen, such as:
- if the browser window is too narrow when looking at the index.php page, it pushes the forum way down beneath the ads (out of immediate user view)
- if the browser window is wide when looking at index.php, then it doubles the 175px left side column
- when looking inside the forum itself (/forumdisplay.php?2-Midlife-Forum), no matter the browser width, it ALWAYS displays the threads way down beneath the ads (out of immediate user view)

I've also tried all permutations of forumL width and forumC margin-left values of 175px, 0px ... and all have some sort of major display flaw ... EXCEPT for that shown in the code window at the top.

If I using increasingly larger values for forumL width (going from 0px to say, 50px, then 100px, etc.), then I can see that the addthis.com widget, and RSS start to expand to the right ... but then the forum display (looking at index.php) falls beneath the ads (out of view) as the window narrows (as described above). And the forum itself will then ALWAYS show up beneath the ads. For example, if I change the forumL width to 175px (from 0px), then look at the forum (/forumdisplay.php?2-Midlife-Forum) here is what you see:



Any idea how to remedy this? Your input is appreciated greatly/hugely/massively - thanks!

--------------- Added [DATE]1292800757[/DATE] at [TIME]1292800757[/TIME] ---------------

--------------- Added [DATE]1292800911[/DATE] at [TIME]1292800911[/TIME] ---------------

I think I solved this myself using the following in additional.css. I switched to absolute positioning in forumC - do you see anything wrong or unadvisable here ... ??? It does appear to work in all cases, and in all widths of the browser ...

Code:
#forumFill{
background-image: none;
background-repeat: repeat-x;
width: 100%;
margin-right: auto;
margin-left: auto;
}

#forumL{
background-image: none;
background-repeat: no-repeat;
width: 175px;
float: left;
}

#forumC {
background-image: none;
background-repeat: no-repeat;
min-width:600px;
float: left;
position:absolute;
left:195px;
width:auto;
}
--------------- Added [DATE]1292806296[/DATE] at [TIME]1292806296[/TIME] ---------------

Okay - so I've discovered that using absolute positioning does have one unintended side effect ... one which I'm currently stuck on.

For some reason, the Footer always appears at the end of the left-side column ... right after the second of the two google 160x600 wide skyscraper ads ... regardless of whether that is where the end of the center section is, or not. [It should appear at the VERY BOTTOM of the page (after the end of the center section) ... or that is where I would like it to appear.] Here is what I mean:





So close - yet so far away. Any ideas???
Reply With Quote
 


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 12:15 AM.


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.06244 seconds
  • Memory Usage 3,002KB
  • Queries Executed 12 (?)
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
  • (23)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (17)post_thanks_box
  • (17)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (17)post_thanks_postbit_info
  • (17)postbit
  • (17)postbit_onlinestatus
  • (17)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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