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 04-20-2008, 03:12 PM
thestaton thestaton is offline
 
Join Date: Mar 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Auto adjust logo width to match browser width?

You can see what's going on here:

internetinjustice.com

Basically, I'm not sure how to do this? I started off by making the logo.gif to fit my screen, then soon realized on smaller windows it left overhang, causing the user to scroll to the right.

Any help would greatly be appreciated.
Reply With Quote
  #2  
Old 04-20-2008, 05:17 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reduce the width of your logo, then take whatever part of the image you want to appear, set it as the background of the table and thats all there is to it basically.

.....
Reply With Quote
  #3  
Old 04-20-2008, 06:03 PM
thestaton thestaton is offline
 
Join Date: Mar 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
reduce the width of your logo, then take whatever part of the image you want to appear, set it as the background of the table and thats all there is to it basically.

and just so you know, the irony is over whelming that you run a site for internet justice, then are encouraging click fraud...http://internetinjustice.com/forums/showthread.php?t=27
Thanks for the help, where is the background for the header table usually stored? I have looked in MAIN CSS and did not find anything that looked relevant. I've also examined the included images that came with the theme and I've yet to locate one that looks like the background.

As per click fraud, that is simply just something I put up to be quick and dirty. The forum doesn't have any members other than those I have invited, so nothing fishy is taking place.

Again, thanks for the help. I've been scratching my head for some time trying to figure this logo out.
Reply With Quote
  #4  
Old 04-20-2008, 06:50 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its in the header template itself, if you know a little CSS you should be able to manage adding the background image onto the table. If not, post your header code, and we'll figure out it
Reply With Quote
  #5  
Old 04-20-2008, 06:55 PM
thestaton thestaton is offline
 
Join Date: Mar 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help... I looked over the header template, and could not find what was being used for the back ground image.

Here's the source, and again thanks!

Quote:
<!-- logo -->
<a name="top"></a>
<div id="header"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div>
<!-- /logo -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="305" valign="top" class="headerBottomLeft" style="padding: 0px; height: 67px"><table width="305" border="0" cellspacing="0" cellpadding="0" style="padding-left: 10px">

<tr>
<td class="nopad"><div align="left"><img src="$stylevar[imgdir_misc]/quick_search.gif" alt="" width="70" height="19" style="padding-left: 15px; padding-right: 0px; padding-top: 0px; padding-bottom: 0px;" /></div></td>
</tr>
<tr>
<td class="nopad"><form action="search.php?do=process" method="post">

<div align="left">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" maxlength="255" name="query" size="25" tabindex="1001" style="border: 1px #A5ACB2 solid; width: 126px; height: 14px; margin-left: 15px; padding-right: 0px; padding-top: 0px; padding-bottom: 0px;" onfocus="this.value=''" value="Enter words to search..." />
<input class="button" type="image" src="$stylevar[imgdir_misc]/login-button.gif" style="padding: 0px; border: 0px;" tabindex="1004" />

</div>
</form></td>

</tr>
</table></td>
<td style="padding: 0px; padding-bottom: 6px" class="headerBottomRight"><table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr align="center">
<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>
<td width="15%" class="navText"><a href="$vboptions[forumhome].php$session[sessionurl_q]">Home</a></td>
<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>
<td width="15%" class="navText"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>

<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>
<td width="15%" class="navText"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a></td>
<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>
<td width="15%" class="navText"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>
<td width="15%" class="navText"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>

<td width="15%" class="navText"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td>
<td width="5"><img src="$stylevar[imgdir_misc]/nav_separator.gif" alt="" width="5" height="25" border="0" /></td>
</tr>
</table></td>
</tr>
</table>
<div id="wrapper">
<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #6  
Old 04-22-2008, 08:40 PM
thestaton thestaton is offline
 
Join Date: Mar 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bueller?
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:44 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.10828 seconds
  • Memory Usage 2,221KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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