vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How can forums auto adjust? (https://vborg.vbsupport.ru/showthread.php?t=147096)

Terrasoft 05-12-2007 07:22 PM

How can forums auto adjust?
 
I asked about this in the thread which the style was created but didnt get any response. Here is what I wrote:

Quote:

...some modifications with different forum widths, it doesnt automatically adjust itself so it makes it look off balanced. Heres probably a better example:

http://i79.photobucket.com/albums/j1...Untitled-1.jpg

On another forum I run, it auto adjusts so I was just wondering HOW to do that. It doesnt need to be implemented into the skin, I would just like to know how to do it.
So for all those css inclined...if someone can help me out here. Thatd be helpful.

CyberAlien 05-14-2007 06:48 AM

That screenshot url doesn't work.

Terrasoft 05-18-2007 06:00 AM

Oops. Mustve got messed up in the quote.

http://i79.photobucket.com/albums/j1...Untitled-1.jpg

Cyberalien, I notice on your styles that they auto adjust which is perfect. Like say for example in the above screenshot, it would expand to fit. (The forum widths are also the same for both skins.) I hope you can help .^_^

CyberAlien 05-18-2007 06:06 AM

Use table instead of div for content. If you set fixed width for div, it won't expand when content is larger than its width, but tables do expand. It usually shouldn't be done as tables shouldn't be used for layout, but it works much better for situations like one you have on your forum.

Terrasoft 05-19-2007 06:07 AM

Quote:

Originally Posted by CyberAlien (Post 1250014)
Use table instead of div for content. If you set fixed width for div, it won't expand when content is larger than its width, but tables do expand. It usually shouldn't be done as tables shouldn't be used for layout, but it works much better for situations like one you have on your forum.

Funny you say that tables shouldnt be used for layouts when you use them apparently on your layouts? :P Anyways, thanks...Ill check that out and say if it does what I need it to do. ^_^

CyberAlien 05-19-2007 06:20 AM

Yep, I'm using them on my vBulletin styles, because of this very problem, and because I can't figure out how to make threaded view work without tables (tried many times, doesn't work unless I use tables. I must be missing something).

Terrasoft 05-19-2007 03:35 PM

I see, but I have a question...where would I alter the templates? All of them or are there certain ones?

CyberAlien 05-19-2007 03:39 PM

Main div that has overall forum width

Terrasoft 05-19-2007 04:27 PM

Quote:

Originally Posted by CyberAlien (Post 1250853)
Main div that has overall forum width

Now I feel like a bit of a nuisance but I cant find where to change it. I tried comparing both skins to see where the differences are and I found alot and Im not sure if I changed one thing, if it would impact the rest of the skin. T_T

CyberAlien 05-19-2007 05:01 PM

Probably header/footer templates.


All times are GMT. The time now is 08:16 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.00958 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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