vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   can someone help me fix this? (https://vborg.vbsupport.ru/showthread.php?t=145210)

thepub 04-18-2007 09:36 PM

can someone help me fix this?
 
<a href="http://www.theneighborhoodpub.com" target="_blank">www.theneighborhoodpub.com</a>

I am trying to put a banner up and for some reason I don't know why it's not working. It stretches across the screen, I've changed it into two pieces instead of 3 and it's still doing it. I just want it to be the width of the fixed forum style.

VBDev 04-18-2007 09:53 PM

Place your images as background of your cells instead of inserting an image in these cells !
It should work better

More of it, your table has no begining :/
You don't use the opening tag table !

Try it, it should be better
Code:

<table id="header" border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
        <TR>
                <TD valign="top" align="left"background="theneighborhoodpub_fichiers/head_left.gif" width="425" height="120" border=0>&nbsp;</TD>
                <TD valign="bottom" align="right" background="theneighborhoodpub_fichiers/head_right.gif">&nbsp;</TD>
        </TR>
</TABLE>

And place this after this in your template !

Code:

<SCRIPT type=text/javascript>
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('Are you sure you want to log out?'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</SCRIPT>


thepub 04-18-2007 10:10 PM

wait I'm lost. I'm supposed to put the first code where exactly? Then I put the second set of code you posted after? What about the code that is currently in there?

VBDev 04-18-2007 10:16 PM

You replace your actual code with this new one ;)


All times are GMT. The time now is 10:23 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.00909 seconds
  • Memory Usage 1,715KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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