View Full Version : Problem, Need Help
Lee The Fox
07-27-2008, 05:43 AM
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!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.