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)
-   -   Banner Resizing Problem (https://vborg.vbsupport.ru/showthread.php?t=220934)

stevetank 08-15-2009 08:55 AM

Banner Resizing Problem
 
Hi folks,

I seem to have hit a slight banner problem.
My new banner looks ok on the screen resolution i have, but when i lower it the banner still stretches across the page and disappears off screen.

This is the code i have at the moment,

Code:

<!-- logo -->
<a name="top"></a>
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/headbg.gif)">
<tr>

<td align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" border="0" alt=""/></a></td>
<td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/head_right.gif" alt="" /></td>
</tr>
</table>
</center>

<!-- /logo -->
<!-- content table -->
$spacer_open

$_phpinclude_output

If anyone can help out thanks,

SteveT:)

--------------- Added [DATE]1250351047[/DATE] at [TIME]1250351047[/TIME] ---------------

Anyone got any help or code i could use.

Thanks.

vB Tree 08-15-2009 03:04 PM

Can you provide a link so I can see what the problem is. Also, what do you want to happen when users make their window size smaller?

stevetank 08-15-2009 03:47 PM

Hi,

Thanks for your reply.

If you use a size of screen smaller than my display setting (1440x900) then the banner wont shrink to fit the forum, stays big, and if i go to higher screen size the banner do sent fit the length of the forum.
http://quarantine-101.com/

Thanks.
SteveT

vB Tree 08-15-2009 07:19 PM

Okay, I know what you want to do now.

It might be better if you make a smaller logo that is centralised and then you can add a bar to either side that expands to make it look like your logo stretches across the forums. Alternatively, you could fix the width of your forums and then the logo would always fit.

stevetank 08-15-2009 08:02 PM

Quote:

Originally Posted by vB Tree (Post 1868085)
Okay, I know what you want to do now.

It might be better if you make a smaller logo that is centralised and then you can add a bar to either side that expands to make it look like your logo stretches across the forums. Alternatively, you could fix the width of your forums and then the logo would always fit.

Could you explain how to achieve that please, either way is fine by me.
Thanks.

vB Tree 08-15-2009 08:58 PM

To make your forums width fixed not fluid, go to:

AdminCP > Styles & Templates > Style Manager > YOURSTYLE > All Style Options

Then find this:

"Main Table Width (pixels or percentage)"

Change the "100%" to any number say 800. You can then make your banner 800 pixels wide.

If you don't like this method, you can revert it back to 100% and I'll help you make a fluid banner.

stevetank 08-15-2009 09:09 PM

Quote:

Originally Posted by vB Tree (Post 1868137)
To make your forums width fixed not fluid, go to:

AdminCP > Styles & Templates > Style Manager > YOURSTYLE > All Style Options

Then find this:

"Main Table Width (pixels or percentage)"

Change the "100%" to any number say 800. You can then make your banner 800 pixels wide.

If you don't like this method, you can revert it back to 100% and I'll help you make a fluid banner.

Thanks bro,

I`ll give this option a try and let you know how i get on, I appreciate the help.

SteveT:)

--------------- Added [DATE]1250374477[/DATE] at [TIME]1250374477[/TIME] ---------------

It worked well,

But i think if you can help with the fluid version, it would be much better.

Thanks again.

SteveT

vB Tree 08-15-2009 09:25 PM

Okay then, would you like your logo to be positioned to the left, centre or right?

stevetank 08-15-2009 09:42 PM

Quote:

Originally Posted by vB Tree (Post 1868147)
Okay then, would you like your logo to be positioned to the left, centre or right?

Center please,

Thanks.

vB Tree 08-15-2009 10:43 PM

You'll need to create a logo image and a image which can be repeated that works on both sides.

Then paste the urls here and I'll give you some code.


All times are GMT. The time now is 04:31 PM.

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.01089 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete