View Single Post
  #1  
Old 06-22-2008, 11:21 AM
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Banner problem, please help!

Hello everyone,

I've upgraded my forum to vBulletin 3.7 but I'm having some troubles with my new banner. The idea is this. I've created a really wide banner (way wider than any screen resolution) and I want to have that the banner just cuts itself where-ever the screen ends. The banner is 1700x173 so when my screen resolution is 800x600, the banner just ends at 800 of 1700. The way how someone fixed it for me works for me in FireFox but I just found out it doesn't in I.E. Everyone else has the same problem, some even in FireFox.

Can anyone take a look at the html code of the header template of my site and see what I have done wrong and how to fix it please?

Many thanks in advance.

Take care,

Bozza

Code:
<!-- logo -->

<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
  <td style="background-image:url(curves/c1_01.jpg); background-position:right; background-repeat:repeat-y;" width="20">&nbsp;</td>
  <td style="background-color:#ffffff;"><table width="100%" style="background-image:url(curves/c1_04.jpg);" border="0" cellpadding="0" cellspacing="0" align="center">
      <tr>
<td align="$stylevar[left]" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]" style="display:block;overflow:hidden"><img src="$stylevar[titleimage]" border="0" height="173px" width="1661px" alt="$vboptions[bbtitle]" /></a></td>
      </tr>
      <tr>
        <td colspan="3" valign="top"><table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr align="center">
              <td width="10"><img src="curves/c1_08.jpg" alt="Left Nav" /></td>
              <if condition="$show['member']">
                <td class="vbmenu_header"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
              </if>
              <if condition="$show['registerbutton']">
                <td class="vbmenu_header"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
              </if>
              <td class="vbmenu_header"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
              <td class="vbmenu_header"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
              <td class="vbmenu_header"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
              <if condition="$show['popups']">
                <if condition="$show['searchbuttons']">
                  <if condition="$show['member']">
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                    <else />
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                  </if>
                  <td id="navbar_search" class="vbmenu_header"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a>
                    <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                </if>
                <if condition="$show['member']">
                  <td id="usercptools" class="vbmenu_header"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a>
                    <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
                </if>
                <else />
                <if condition="$show['searchbuttons']">
                  <td class="vbmenu_header"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                  <if condition="$show['member']">
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                    <else />
                    <td class="vbmenu_header"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                  </if>
                </if>
                <td class="vbmenu_header"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                <if condition="$show['member']">
                  <td class="vbmenu_header"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
                </if>
              </if>
              <if condition="$show['member']">
			<td class="vbmenu_header"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
              </if>
              <td width="11"><img src="curves/c1_10.jpg" alt="Right Nav" /></td>
            </tr>
          </table></td>
      </tr>
    </table>
    <br />
    <!-- /logo -->
    <!-- content table -->
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
    <tr>
      <td><img src="curves/c1_13.jpg" alt="Left Container" /></td>
      <td width="100%" style="background-image:url(curves/c1_14.jpg);"></td>
      <td><img src="curves/c1_16.jpg" alt="Right Container" /></td>
    </tr>
<tr>
    <td style="background-image:url(curves/c1_17.jpg);">&nbsp;</td>
      <td> $spacer_open
        
        $_phpinclude_output
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01219 seconds
  • Memory Usage 1,799KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete