Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2007, 07:09 PM
exes_slayer exes_slayer is offline
 
Join Date: Apr 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default little problem with header image at 1280x1024

the top image is appearing way next to the logo
can anyone tell me what variable to modify to make it fit?

here's a screenshot:
http://i17.tinypic.com/4m7hhqe.jpg

and here is the code from my header template:

Code:
<!-- logo -->
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="http://www.webarea.ro/register.php?referrerid=1"><p>Sistemul ne arata ca inca nu te-ai inregistrat. Ca sa te inregistrezi apasa click aici...</p></a><embed src="infobar.wav" autostart="true" loop="0" hidden="true"></embed></div>
</if>

<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="$stylevar[left]" style="background: url('themes/sleekblue/images/headerbgright.gif') top right no-repeat;"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td width="100%" align="$stylevar[left]" style="background:  url('themes/sleekblue/images/headerbgright.gif') top right no-repeat; padding-right: 20px;">

		<!-- Great spot for an ad banner! -->
	</td>
</tr>
</table>
<!-- /logo -->

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>


<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">

<tr>

<td width="23"><img src="themes/sleekblue/images/navleft.gif" /></td>
<td class="navitem"><a href="$vboptions[homeurl]">Home</a></td>
<td class="navitem"><a href="$vboptions[forumhome].php$session[sessionurl_q]">Forums</a></td>
<td class="navitem"><a href="memberlist.php$session[sessionurl_q]">Members List</a></td>
<td class="navitem"><a href="calendar.php$session[sessionurl_q]">Calendar</a></td>
<td class="navitem"><a href="search.php?$session[sessionurl]do=getnew">New Posts</a></td>
<td id="navbar_search" class="navitem"><a href="#">Search</a><script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>

<if condition="$bbuserinfo['userid'] == 0">
<td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily">Today's Posts</a></td>
<else />
<td id="usercptools" class="navitem"><a href="#">Quick Links</a><script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>

<if condition="$bbuserinfo['userid'] == 0">
<td class="navitem"><a href="register.php$session[sessionurl_q]">Register</a></td>
<else />
</if>
<td width="23"><img src="themes/sleekblue/images/navright.gif" /></td>

</tr>

</table>

</td>
</tr>

<tr>
<td>


<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">

<tr>

<td width="23"><img src="themes/sleekblue/images/blueleft.gif" /></td>
<td width="100%" style="background: url('themes/sleekblue/images/bluebg.gif') top left repeat-x;">

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td>



<table cellpadding="0" height="43" cellspacing="0" border="0" width="100%">
<tr><td width="43" style="background: url('themes/sleekblue/images/avatarbg.gif') center left no-repeat;">

<a style="position: relative; left: 7px; top: -1px;" href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a>

</td>
<td style="padding-left: 10px;">

<if condition="$bbuserinfo['userid'] == 0">
    <span style="color: #FFF; font-weight: bold; font-size: 12px;">Welcome to $vboptions[hometitle]!</span><br />
<a class="headerpm" href="register.php$session[sessionurl_q]">If you haven't registered yet, click here!</a>
<else />
    <span style="color: #FFF; font-weight: bold; font-size: 12px;">Welcome back, $bbuserinfo[username]!</span><br />

<if condition="$bbuserinfo[pmunread] == 0">
<a class="headerpm" href="$vboptions[bburl]/private.php?">You have no new private messages.</a>
<else />
<if condition="$bbuserinfo[pmunread] == 1">
<a class="headerpm" href="$vboptions[bburl]/private.php?">You have one new private message.</a>
<else />
<a class="headerpm" href="$vboptions[bburl]/private.php?">You have $bbuserinfo[pmunread] new private messages.</a>

</if>
</if>

</if>

</td>
<td style="text-align: right;">

<if condition="$bbuserinfo['userid'] == 0">






<!-- login form -->
		<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
		<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" style="float: right;">
		<tr>
			<td class="smallfont"><label for="navbar_username" style="color: #3b586c;">$vbphrase[username]</label></td>
			<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
			<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar" style="color: #3b586c;"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Save?</label></td>
		</tr>
		<tr>
			<td class="smallfont"><label for="navbar_password" style="color: #3b586c;">$vbphrase[password]</label></td>
			<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
			<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
		</tr>
		</table>
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="login" />		
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
		<!-- / login form -->






<else />

<a href="$vboptions[bburl]/usercp.php$session[sessionurl_q]"><img src="themes/sleekblue/images/usercp.gif" border="0" /></a>

<a href="$vboptions[bburl]/private.php?"><img src="themes/sleekblue/images/inbox.gif" border="0" /></a>

<a href="$vboptions[bburl]/member.php?u=$bbuserinfo[userid]"><img src="themes/sleekblue/images/myprofile.gif" border="0" /></a>

<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="themes/sleekblue/images/logout.gif" border="0" /></a>

</if>

</td>

</tr>
</table>

</td></tr>
</table>



</td>
<td width="23"><img src="themes/sleekblue/images/blueright.gif" /></td>

</tr>
</table>

</td>
</tr>

<tr>
<td>


<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" height="28">

<tr>

<td width="23" style="background: #FFF;" valign="top"><img src="themes/sleekblue/images/topleft.gif" /></td>
<td width="100%" style="background: #FFF url('themes/sleekblue/images/topbg.gif') top left repeat-x;"></td>
<td width="23" style="background: #FFF;" valign="top"><img src="themes/sleekblue/images/topright.gif" /></td>

</tr>
</table>

</td>
</tr>
</table>

<!-- content table -->
$spacer_open

$_phpinclude_output
Reply With Quote
  #2  
Old 08-03-2007, 08:29 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm guessing your trying to make it fluid, in which case the images you have are too small and don't repeat so you'll get gaps. You could just save the header as one image and set it in the middle instead of splitting it in 2.
Reply With Quote
  #3  
Old 08-04-2007, 05:05 AM
exes_slayer exes_slayer is offline
 
Join Date: Apr 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Opserty View Post
I'm guessing your trying to make it fluid, in which case the images you have are too small and don't repeat so you'll get gaps. You could just save the header as one image and set it in the middle instead of splitting it in 2.
thats exactly what i did! thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 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.08132 seconds
  • Memory Usage 2,196KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete