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)
-   -   Forum Width Variance Messing Up Header (https://vborg.vbsupport.ru/showthread.php?t=230856)

orange peel 12-22-2009 04:28 PM

Forum Width Variance Messing Up Header
 
forum.theclubpenguincheats.com

The width of the forum chances depending on the computer, thus if it's wider than normal, it makes the header at the top tiled. Any way to fix this? Im thinking making a fixed forum width? If so, how, and could I maybe make the width a little larger?

Hell Bomb 12-22-2009 06:14 PM

This should work.

HTML Code:

<table width="$stylevar[outertablewidth]" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a href="index.php?"><img src="images/solido/spacer.gif" alt="The Club Penguin Cheats Forums" width="100%" height="129"></a></td>
        <td valign="top">&nbsp;</td>
      </tr>
    </table>

Whats i did.
Changed forum width to "$stylevar[outertablewidth]". This will allow the header table to be forced to stay aligned with the forum. Chan i changed the bannder width to 100%. Next i removed the "class="headerwrap" because it was adding the image to be repeated.

orange peel 12-23-2009 01:19 AM

Sorry for being a noob, but does this go in the header.php under templates?

Hell Bomb 12-23-2009 04:33 AM

Quote:

Originally Posted by orange peel (Post 1935973)
Sorry for being a noob, but does this go in the header.php under templates?

O no problem, if you open admincp go to style, find your style and edit templates then replace the code with the code i posted before.

orange peel 12-23-2009 06:30 PM

Hi it messed up the forum when I added it to header.php
Basically, it made the width the width of the screen and the header disappeared and the bar with all the links at the top extended past the scroll bar on the right a little
I kinda want it like this on all computers:
http://i475.photobucket.com/albums/r...atex/pic-3.jpg

Digital Jedi 12-26-2009 05:28 PM

You mean your header template, right? There is no header.php file, and you wouldn't be editing files to edit a style in any case.

If you're trying to do what I think you're trying to do, then first we'd need to see your header template code. Copy it and paste it inbtween the [noparse][CODE][/CODE]tags. Depending on how your banner is being displayed in the code, you'd need a different solution to make it fixed.


All times are GMT. The time now is 07:32 PM.

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.01191 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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