View Single Post
  #1  
Old 01-29-2006, 01:44 AM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to set a FIXED body margin?

How do I set a left-hand margin that cannot be penetrated by any forum content whatsoever?

I got design specs that were extremely specific about setting the distance from the top- and left-hand margins, and I'm pulling my hair out for the left. Under certain resolutions, or when I stretch the page by hand, the forum content enters the space on the left, no matter what steps I take.

Editing the margins and margin widths in Main CSS do have influence on it, but this does not prevent the forum content from encroaching on the left-hand margin as illustrated in the second illustration above. What am I missing?

Body extra CSS (played with variants of this):
Code:
margin: 5px 2px 2px 20px;
margin-top: 150px;
margin-left: 20px;
padding: 2px;
The interesting thing is that when I manually stretch my browser vertically (or resize my display), it does not encroach on the top margin, only when I stretch the browser horizontally (or view in dif. resolution).

I've also set percentage and pixel defs in StyleVar, added tables and spacers to header & footer & forumhome, to no avail; stretching the browser page still allows forum content to move and enter a background image that occupies the top-left of my page.

How can I set it so that the left-hand space is completely safe?
Attached Images
File Type: jpg forum_nostretch.jpg (98.9 KB, 0 views)
File Type: jpg forum_stretch.jpg (81.8 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,785KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)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
  • (2)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete