vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Banner length on different resolution (https://vborg.vbsupport.ru/showthread.php?t=123878)

tonynlek 08-13-2006 08:41 PM

Banner length on different resolution
 
Hi,

I have put a banner logo on top and when i resize the window, it does not stretch.

I set up my logo using the 1024 x 768 resolution and when it is view in a 800 x 600 setting it's width is long and goes out to the right of the forum table width.

How do i make my logo banner "compress" or "stretch" as i resize my window or when i change my resolution setting.

This site is able to do it, the banner is able to compress and stretch due to different window size.
http://www.plecofanatics.com/gallery...ry.php?cat=501

Thanks

dodgeboard.com 10-24-2006 12:46 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=1103249#post1103249" target="_blank">https://vborg.vbsupport.ru/showt...49#post1103249</a>

Primeval 10-25-2006 07:32 AM

Go to your header templates and on your img tag (that displays your logo) add width and height tag.

Like... <Img src="$vbullentinheadercode" width="100%" height="xx" >

The img src can be the default vb header code or your custom url and hight as your current banner height. If you do not add the height code, the image will blow up too big.

Now your logo can stretch to any resolution.

jstyles21 12-30-2008 02:47 PM

Quote:

Originally Posted by Primeval (Post 1103977)
Go to your header templates and on your img tag (that displays your logo) add width and height tag.

Like... <Img src="$vbullentinheadercode" width="100%" height="xx" >

The img src can be the default vb header code or your custom url and hight as your current banner height. If you do not add the height code, the image will blow up too big.

Now your logo can stretch to any resolution.

This is exactly what I need to do but I don't know where to enter this HTML code.

I went into the Admin CP - Template Options - Header but don't see where I could enter this code in.


All times are GMT. The time now is 01:13 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.00960 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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