vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Why does this happen? (https://vborg.vbsupport.ru/showthread.php?t=280739)

excessive34 03-27-2012 05:23 PM

Why does this happen?
 
1 Attachment(s)
I really don't understand why my forum collapses on itself when I switch the width from pixels to percentage.... I'm at a loss and can not figure out what the issue is...

Picture below

vbenhancer 03-27-2012 07:02 PM

960pixels is not the same as 90% ... if you set a smaller value than the default value of the navbar or other part of the design, your site width will suffer...

if you use percentage in the width of the site, it will be evaluated depending on the width of the window of your browser, so will be different for everybody in the average usage...

the best solution is to use a fixed value after the default width of your entire content... so if your content is about 900 pixels wide, a good 920 or 940 would do well... you can read about the 960 pixels grid project here: http://960.gs/

excessive34 03-27-2012 08:52 PM

I understand the differences between the two.

I currently have that the "wrapper" set at 1150px... I'm toying around with percentages because it just seems easier to adapt to all screen resolutions.. instead of growing smaller and smaller as screen resoultion goes up.. it would always take up 90% width... I notice that a lot of produced themes used percentage values without there themes collapsing, I however can not figure out what I did to cause it.

Lynne 03-27-2012 08:55 PM

Can we geta link to the style to view the problem ourselves.

vbenhancer 03-27-2012 10:50 PM

the reason is that all the content inside the theme have to be in percentage to fit the extension of the wrapper... so, all div etc...


All times are GMT. The time now is 04:39 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.01146 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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