View Single Post
  #1  
Old 12-15-2009, 02:34 PM
joeycannoli joeycannoli is offline
 
Join Date: Nov 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Banner size problem when viewing forum on widescreen

Recently my partner changed the setting on our forum because we were getting complaints of a very wide screen. Therefore we resized the width of the forum to 100% where it would automatically adjust to the size of the screen it is being view on. However, now the banner at the top of the forum is automatically resizing to 1000px as a width and it looks horrible.

Can someone help with this issue?

Here is a live look at the forum...

Euro Addiction

Here is the header code...

PHP Code:
<!-- start header part -->
<
a name="top"></a>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
  </
tr>
  <
tr>
    <
td class="headerwrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <
tr>
        <
td valign="middle" class="headerbgL"><div align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/cars-red/cars_headerbg.jpg" alt="$vboptions[bbtitle]name="carslogo" width="1000" height="136.9" border="0" id="cars_headerbg" /></a></div></td>
        <
td class="headerbg">&nbsp;</td>
        
      </
tr>
    </
table></td>
  </
tr>
  <
tr>
    <
td class="navwrap">

<!-- 
nav buttons bar -->

    <
table id="navstyle" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <
tr align="center">
        <if 
condition="$show['member']">
            <
td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if 
condition="$show['registerbutton']">
            <
td><a href="register.php$session[sessionurl_q]rel="nofollow">$vbphrase[register]</a></td>
        </if>
        
$template_hook[navbar_buttons_left]
        <
td><a href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td>
        <
td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <
td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if 
condition="$show['popups']">       
            <if 
condition="$show['searchbuttons']">
                <if 
condition="$show['member']">
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <
td id="navbar_search" ><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if 
condition="$show['member']">
                <
td id="usercptools" ><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><a href="search.php$session[sessionurl_q]accesskey="4">$vbphrase[search]</a></td>
                <if 
condition="$show['member']">
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <
td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if 
condition="$show['member']">           
                <
td><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>
        
$template_hook[navbar_buttons_right]
        <if 
condition="$show['member']">
            <
td><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>
    </
tr>
    </
table>

<!-- / 
nav buttons bar -->

</
td>
  </
tr>
  <
tr>
    <
td>
<!-- /
end header part-->

<!-- 
content table -->
$spacer_open

$_phpinclude_output 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01278 seconds
  • Memory Usage 1,872KB
  • 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_php
  • (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