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)
-   -   Problem, Need Help (https://vborg.vbsupport.ru/showthread.php?t=186466)

Lee The Fox 07-27-2008 05:43 AM

Problem, Need Help
 
I want these images to stretch... Like to fit correctly?

http://img367.imageshack.us/img367/5329/problemna4.jpg

http://img59.imageshack.us/img59/5460/problem2lt5.jpg

Lynne 07-27-2008 03:13 PM

You need to set the image height to be the same at the column/row height in your table.

Lee The Fox 07-27-2008 04:10 PM

Could you explain again, in noob language?

Lynne 07-27-2008 08:31 PM

In the source code, there is (probably) a height for either the row or column in the table, like:

<tr height="xx">

You need probably either remove that height or make it the same height that your image is. If your image is 20 pixels tall, then if you set the row height to 20 pixels, it should fill the row (20 is an example, I have no idea what the height of your image or row are).

Lee The Fox 07-28-2008 02:57 AM

I'm still unsure of what you mean by source code, like inside my memberlist template?

Lynne 07-28-2008 03:09 AM

The source code is what is sent to your browser to make the page you see. The source code is defined by your templates, as you said. I just looked again at your images, and I think I was wrong about it being because the row/column height was set taller than the image. It actually looks like the text is causing the row height to be taller than the image. The way vbulletin deals with this is by making the image much taller than needed and then if the text makes the row taller, the image just fills it in. For instance, look at the Category Strips (where Quick Reply is):
https://vborg.vbsupport.ru/external/2008/11/70.jpg
That image is much taller than is needed. You only see the top part used. But, when that image is used in other places and the row gets stretched taller, the image just fills it in rather than adding plain color. So, you need to either make your background image taller or somehow tile the image (which may look strange) or pick a background colors that complements the image color.

Attitude5ire 07-28-2008 09:55 AM

You'll never be able to have a perfect size fit. The cat strip headers heights are dynamic, you'r best bet is to make a gradient which has a say color blue to dark gradient going up to down and the for background color you make it dark blue so gradient merges into color.

Lee The Fox 07-28-2008 05:20 PM

I made the image bigger, everything is fine now. Thanks!


All times are GMT. The time now is 01:14 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.02148 seconds
  • Memory Usage 1,719KB
  • 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
  • (8)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