Topic: Header screws stuff up!

For some reason, my header does not like the image_upload mod.  When I remove my custom header, it allows me to add pictures.  But when the header is there, I cannot make it show a spot to upload!  Something is conflicting.  Anyone know why this might happen, and what I need to fix?  Thanks.

Re: Header screws stuff up!

maybe if you gave us the code for your header we could help tongue

Re: Header screws stuff up!

<!-- Begin Search Box Code -->
      <div id=searchbox style="position:absolute; left:648px; top:84px; width:114px; height:38px; z-index:2">
        <form action="http://www.mydomain.com/bmwforums/search.php" method="get" id="search">
            <input type="hidden" name="action" value="search" />
            <input type="text" style="width: 130px;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9 px; color: #000000; border-color: #777777; border-style: solid; border-top-width: 1 px; border-right-width: 1 px; border-bottom-width: 1 px; border-left-width: 1 px" name="keywords" size="35" value="enter search" />
               </form>
</div>
<!-- End Search Box Code -->
<table width=800 border=0 cellspacing=0 cellpadding=0 height=73>
  <tr>
    <td rowspan=3 width=315><a href="http://www.mydomain.com">
<script language=JavaScript>
<!--
document.write("<IMG SRC='http://www.mydomain.com/guts/home/home_g_" + Math.floor(Math.random()*6) + ".gif' WIDTH=310 HEIGHT=73 BORDER=0");
//-->
</script>
</a></td>
    <td height=6 colspan=2></td>
  </tr>
  <tr>
    <td height=60 width=470> <script type="text/javascript"><!--
google_ad_client = "pub-7237447290663668";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="";
google_color_border = "333333";
google_color_bg = "666666";
google_color_link = "0099FF";
google_color_url = "CCCCCC";
google_color_text = "CCCCCC";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
    </td>
    <td> </td>
  </tr>
  <tr>
    <td height=7 colspan=2></td>
  </tr>
</table>
<table width=800 border=0 cellspacing=0 cellpadding=0 height=20 background="http://www.mydomain.com/guts/buts_home.gif">
  <tr>
    <td width=57><a href="/forums/"><img src="http://www.mydomain.com/guts/button_invis.gif" width=100% height=20 border=0></a></td>
    <td width=82><a href="/classifieds/"><img src="http://www.mydomain.com/guts/button_invis.gif" width=100% height=20 border=0></a></td>
    <td width=58><a href="/pictures/"><img src="http://www.mydomain.com/guts/button_invis.gif" width=100% height=20 border=0></a></td>
    <td width=70><a href="/forums/vbgarage.php"><img src="http://www.mydomain.com/guts/button_invis.gif" width=100% height=20 border=0></a></td>
    <td width=43><a href="/tech/"><img src="http://www.mydomain.com/guts/button_invis.gif" width=100% height=20 border=0></a></td>
    <td width=43><a href="/forums/chat/flashchat.php"><img src="http://www.mydomain.com/guts/button_invis.gif" width=100% height=20 border=0></a></td>
    <td> </td>
    <td> </td>
  </tr>
</table>
<table width=800 border=0 cellspacing=0 cellpadding=0 height=15 background="http://www.mydomain.com/guts/subs_tech.gif">
  <tr>
    <td valign=top><img src="guts/subs_home_main.gif" width="333" height="10"></td>
  </tr>
</table>

Re: Header screws stuff up!

Maybe that will help.  It has a few simple scripts.

Re: Header screws stuff up!

and a link to your site would help too

Go Canada! - No matter what, except when Stephen Harper is Prime Minster!
NHL is back, GO TORONTO MAPLE LEAFS! even if they lose...
[Firefox Rules!] - [Amazing Race] - [My Site!]

Re: Header screws stuff up!

I haven't read through it but chances are some badly formed html is upsetting the image upload script

7 (edited by mulesnx 2005-10-02 19:30)

Re: Header screws stuff up!

I have narrowed it down to the following code.  This code simply allows me to search my forums from my header.  Any ideas?

<!-- Begin Search Box Code -->
      <div id=search style="position:absolute; left:648px; top:84px; width:114px; height:38px; z-index:2">
        <form action="http://www.mydomain.com/forums/search.php" method="get">
            <input type="hidden" name="action" value="search" />
            <input type="text" style="width: 130px;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9 px; color: #000000; border-color: #777777; border-style: solid; border-top-width: 1 px; border-right-width: 1 px; border-bottom-width: 1 px; border-left-width: 1 px" name="keywords" size="35"/>
        </form>
</div>
<!-- End Search Box Code -->

8

Re: Header screws stuff up!

Three things come to mind though I'm not sure whether they will do anything to solve your problem

1. It should be id="search" (note the quotation marks)

2. PunBB already uses id="search" for its own search form and you can't have two identical id's on the same page.

3. There is no space before the slash closing the second input.

Re: Header screws stuff up!

Thanks!  so maybe change the id to "searchbox" and fix the last slash?  I will try this code...

<!-- Begin Search Box Code -->
      <div id="searchbox" style="position:absolute; left:648px; top:84px; width:114px; height:38px; z-index:2">
        <form action="http://www.mydomain.com/forums/search.php" method="get">
            <input type="hidden" name="action" value="search" />
            <input type="text" style="width: 130px;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9 px; color: #000000; border-color: #777777; border-style: solid; border-top-width: 1 px; border-right-width: 1 px; border-bottom-width: 1 px; border-left-width: 1 px" name="keywords" size="35" />
        </form>
</div>
<!-- End Search Box Code -->

10 (edited by mulesnx 2005-10-02 20:10)

Re: Header screws stuff up!

Close but no cigar.  I wonder if it has to do with the way I have forced the searchbox to be in a certain location...  Checked, and no.  I wonder if it has to do with the <div code? hummm