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 problem (https://vborg.vbsupport.ru/showthread.php?t=176959)

Greek76 04-23-2008 05:07 PM

Banner problem
 
Hello all Im sure its been asked but I cant find the solution to my problem. My banners on my forums come out distorted on my friends computer. On my 19 inch it looks perfect. I checked it on fire fox and IE 7 and looks fine. It looks distorted for him.

If your on a 10 inch monitor you would see the chair on my bannerbut if your on a 30 inch you would only see the mountains on the side. How can I do so the whole banner shows perfectly for any size resolution with out it stretching or distorting the images? Thanks this is my header code..
The site Im refering to is www.GreekRealm.com/forum

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.greekrealm.com/forum/sam/sam/banner.gif" border="0" width="100%" alt="$vboptions[bbtitle]" /></a></td>
       
        </td>
</tr>
</table>
<!-- /logo -->


notrious 04-23-2008 11:58 PM

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.greekrealm.com/forum/sam/sam/banner.gif" border="0" width="100%" alt="$vboptions[bbtitle]" /></a></td>
       
        </td>
</tr>
</table>
<!-- /logo -->





try this .. i hope this will solve your Problem...

Greek76 04-24-2008 12:37 AM

Didnt work thanks..

Lynne 04-24-2008 02:47 AM

You are bound to end up with distorted images anytime you go about resizing them the way you are. You are better off picking a height and adding extra 'stuff' to the side of the banner when users have a longer browser window.

Greek76 04-24-2008 02:08 PM

How would I do that? Thanks..

Lynne 04-24-2008 02:23 PM

Hmmm, well, something like:
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr bgcolor="background-color-you-pick">
<td align="left">image here for the left side</td>
    <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.greekrealm.com/forum/sam/sam/banner.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="right">image here for the right side</td>
   
    </td>
</tr>
</table>
<!-- /logo -->

You can leave out the bgcolor or only go for bgcolor and leave out the left and right tds. Take a look at the way other sites do their banners and you will see several ways of going about it.

Greek76 04-24-2008 06:39 PM

Thanks it worked perfectly.. I just used a background color as opposed to the left and right images..


All times are GMT. The time now is 06:39 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.01016 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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