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

BrentW 07-24-2006 07:07 PM

Header Background
 
http://www.communityofchrist.us/index.php

I have the width of my site restricted to 770 pixels to accomidate 800x600 users. However, when viewing profiles, the page stretches outward, causing gray-colored gaps on both sides of the banner. (That's because I have the myspace hack installed). How do I change the gray color into an image background? I would like to set the background of the header to this:

http://www.communityofchrist.us/images/misc/Filler.jpg

That way, it won't look ugly when it stretches. ;)

Princeton 07-25-2006 03:54 PM

Unable to connect ... site is down?

BrentW 07-25-2006 08:00 PM

Quote:

Originally Posted by Princeton
Unable to connect ... site is down?

Yes, at the worst possible timing. We just moved the server to this new line...and what do you know, three days later the line is having problems. Let's just say we are FURIOUS at the service provider.

BrentW 07-27-2006 05:52 AM

1 Attachment(s)
Any thoughts on this? :)

See screenshots for more info.

Princeton 07-27-2006 07:08 PM

I'm guessing this is fixed 'cause I don't see the problem on the site.

BrentW 07-28-2006 12:51 AM

It's not fixed. The index has no problem, but when I go into the profiles, the sides stretch outward. So what I want do to is break the banner into three parts: left-side, middle, and right-side. The middle would be filled with a gradient which matches the rest of the banner. That way, if the sides expand outward, it won't look ugly. Here is the (current) code for my header:

Quote:

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

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
I want to replace that banner with:

http://www.communityofchrist.us/imag...white_left.jpg
http://www.communityofchrist.us/images/misc/Filler.jpg
http://www.communityofchrist.us/imag...hite_right.jpg

I hope that makes sense. :)

Princeton 07-28-2006 02:12 PM

something along the lines of
HTML Code:

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
        <tr style="background:url(http://www.communityofchrist.us/images/misc/Filler.jpg) repeat-x">
                <td align="left"><img src="http://www.communityofchrist.us/images/misc/vbulletin3_logo_white_left.jpg" width="499" height="112" border="0" alt="$vboptions[bbtitle]" /></a></td>
                <td>&nbsp;</td>
                <td align="right"><img src="http://www.communityofchrist.us/images/misc/vbulletin3_logo_white_right.jpg" width="235" height="112" alt="" border="0" /></td>
        </tr>
</table>

I hardcoded the values you may want to replace them.

BrentW 07-29-2006 05:04 AM

Excellent! :) Thank you, sir.

Now I am experiencing the same gray gaps on the bottom of the page. See my second screenshot. How would I go about fixing that?

Thanks again! :)


All times are GMT. The time now is 02:47 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.01025 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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