View Single Post
  #149  
Old 09-30-2008, 01:57 PM
jzulaski jzulaski is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

I'm trying to modify the top banner graphic and center it. I've made it slightly smaller with my own graphic over the top of the fill section but, I can't seem to get the center portion and the right portion to move to the left and connect up to the left side.

Here is a picture of what I'm talking about:

http://www.st1300.us.com

And here is the code from the Header section of the style:

<!-- logo -->
<a name="top"></a>
<table width="100%" height="6" cellspacing="0" cellpadding="0" border="0" align="center">
<tr height="6">
<td width="$stylevar[outertablewidth]" align="center" height="6" style="background: url(http://www.st1300.us.com/cpstyles/Blak-Ice vB 3.7.0/blak_ice/misc/header_over.gif);"></td>
</tr>
</table>
<br />

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

<td>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="center" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.st1300.us.com/cpstyles/Blak-Ice vB 3.7.0/blak_ice/misc/header_left.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>

<td align="left" width="85%" height="131" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]">
<table width="85%" border="0" cellspacing="0" cellpadding="0" style="background: url(http://www.st1300.us.com/cpstyles/Blak-Ice vB 3.7.0/blak_ice/misc/header_fill.gif) repeat-x top left;" valign="top">
</td>

<td align="left" border="0" valign="center">
<img src="http://www.st1300.us.com/cpstyles/Blak-Ice vB 3.7.0/blak_ice/misc/header_main.gif" border="0"/>
</td>

<td align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.st1300.us.com/cpstyles/Blak-Ice vB 3.7.0/blak_ice/misc/header_right.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>

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


</table>


Any idea as to what I'm doing wrong?

I can get the left "rounded" end of the graphic to butt up against the other part by changing the alignment to "Right" but, I cannot seem to get everything centered above the rest of the web forum like I want it. I've tried changing the alignment to left and centered on all the little parts of the banner graphic but, nothing seems to work.

I figure it is something simple with the table definition that I am just not seeing.

TIA,

Joe Zulaski
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01057 seconds
  • Memory Usage 1,768KB
  • 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)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