Announcement

Collapse
No announcement yet.

showthread table not lined up properly!!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • showthread table not lined up properly!!!

    Take a look at this:

    http://www.unofficial-blues.net/for...p?s=&threadid=2

    Why is this happening. Its my mates site and i'm trying to fix it for him. The table doesn't seem to go all the way across. But its only when your viewing messages that this happens.

    Any ideas why?

    here is the code for showthread template....

    Code:
    <html>
    <head><title>$bbtitle - $thread[title]</title>
    $headinclude
    <script language="javascript" type="text/javascript">
    <!--
    function aimwindow(aimid) {
    	window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank"," toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=
    yes,status=no")
    
    
    }
    // -->
    </script>
    </head>
    <body>
    $header
    
    <!-- breadcrumb, nav links -->
    <div align="center">
      <center>
    <table cellpadding="2" cellspacing="0" border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">
    <tr>
    	<td>$navbar</td>
    	$ratingdisplay
    </tr>
    </table>
      </center>
    </div>
    <!-- /breadcrumb, nav links -->
    
    <a name="posttop"></a>
    
    <!-- End content area table (CREATED IN HEADER!!) -->   
    	</td>
    </tr>
    </table>
    
    <!-- spacer -->
    <table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr><td width="10"><img width="10" height="1" src="http://www.vbulletin.org/forum/images/space.gif" alt=""></td><td width="100%">
    <!-- /spacer -->
    
    $poll
    
    <!-- first unread and next/prev -->
    <table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
    <tr>
    	<td><smallfont>$pagenav $firstunread </smallfont></td>
    	<td align="right"><smallfont>
    	<img src="http://www.vbulletin.org/forum/images/prev.gif" alt="" border="0">
    	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
    	 
    	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
    	<img src="http://www.vbulletin.org/forum/images/next.gif" alt="" border="0">
    	</smallfont></td>
    </tr>
    </table>
    <!-- first unread and next/prev -->
    
    <table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"  width="95%" align="center"><tr><td>
    <div align="center">
      <center>
    <table cellpadding="4" cellspacing="1" border="0"  width="100%" style="border-collapse: collapse" bordercolor="#111111">
    <tr>
    	<td bgcolor="#1D6AA0" width="175" nowrap><smallfont color="#EEEEFF" class="thtcolor"><b>Author</b></smallfont></td>
    	<td bgcolor="#1D6AA0" width="100%">
    	<!-- Thread nav and post images -->
    	<table width="100%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
    		<td width="100%"><smallfont color="#EEEEFF" class="thtcolor"><b>Thread</b></smallfont></td>
    		<td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="http://www.vbulletin.org/forum/images/newthread.gif" border="0" alt="Post New Thread"></a></td>
    		<td><normalfont>  </normalfont></td>
    		<td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
    	</tr>
    	</table>
    	<!-- /Thread nav and post images -->
    	</td>
    </tr>
    </table>
      </center>
    </div>
    </td></tr></table>
    
    <!-- /spacer -->
    </td><td width="10"><img width="10" height="1" src="http://www.vbulletin.org/forum/images/space.gif" alt=""></td></tr></table>
    <!-- /spacer -->
    
    $postbits
    
    <!-- spacer -->
    <table bgcolor="#0E3652" width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr><td width="10"><img width="10" height="1" src="http://www.vbulletin.org/forum/images/space.gif" alt=""></td><td width="100%">
    <!-- spacer -->
    
    <table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"  width="95%" align="center"><tr><td>
    <table cellpadding="4" cellspacing="1" border="0"  width="100%">
    <tr>
    	<td bgcolor="#1D6AA0" width="100%">
    	<!-- time zone and post buttons -->
    	<table border="0" cellspacing="0" cellpadding="0" bgcolor="#1D6AA0">
    	<tr>
    		<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
    		<td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="http://www.vbulletin.org/forum/images/newthread.gif" border="0" alt="Post New Thread"></a></td>
    		<td><normalfont>  </normalfont></td>
    		<td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
    	</tr>
    	</table>
    	<!-- /time zone and post buttons -->
    	</td>
    </tr>
    </table>
    </td></tr></table>
    
    <!-- first unread and next/prev -->
    <table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
    <tr>
    	<td><smallfont>$pagenav </smallfont></td>
    	<td align="right"><smallfont>
    	<img src="http://www.vbulletin.org/forum/images/prev.gif" alt="" border="0">
    	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
    	 
    	<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
    	<img src="http://www.vbulletin.org/forum/images/next.gif" alt="" border="0">
    	</smallfont></td>
    </tr>
    </table>
    <!-- first unread and next/prev -->
    
    <!-- /spacer -->
    </td><td width="10"><img width="10" height="1" src="http://www.vbulletin.org/forum/images/space.gif" alt=""></td></tr></table>
    <!-- /spacer -->
    
    <!-- restart content table from header -->
    <table cellpadding="10" cellspacing="0" border="0" width="100%" bgcolor="#0E3652" align="center">
    <tr>
        <td>
    
    <!-- thread options links -->
    <table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"   align="center"><tr><td>
    <table cellpadding="4" cellspacing="1" border="0"  width="100%">
    <tr>
    	<td bgcolor="#13486D" align="center"><smallfont>
    	<img src="http://www.vbulletin.org/forum/images/printer.gif" alt="" border="0" align="absmiddle">
    	<a href="printthread.php?s=$session[sessionhash]&threadid=$threadid">Show Printable Version</a> |
    	<img src="http://www.vbulletin.org/forum/images/sendtofriend.gif" alt="" border="0" align="absmiddle">
    	<a href="sendtofriend.php?s=$session[sessionhash]&threadid=$threadid">Email this Page</a> |
    	<img src="http://www.vbulletin.org/forum/images/subscribe.gif" alt="" border="0" align="absmiddle">
    	<a href="member2.php?s=$session[sessionhash]&action=addsubscription&threadid=$threadid">Subscribe to this Thread</a>
    	</smallfont></td>
    </tr>
    </table>
    </td></tr></table>
    <!-- /thread options links -->
    	
    <br>
    
    <!-- forum jump and rate thread -->
    <table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
    <tr>
    	<td>$forumjump</td>
    	<td align="right">$threadrateselect</td>
    </tr>
    </table>
    <!-- /Rate this thread -->
    
    <br>
    
    <!-- forum rules and admin links -->
    <table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
    <tr valign="bottom">
    	<td><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td>
    	<td align="right">
    	$adminoptions
    	</td>
    </tr>
    </table>
    <!-- /forum rules and admin links -->
    
    $footer
    
    </body>
    </html>
    Could someone help me out please?

  • #2
    Screenshot of normal screen.....
    Attached Files

    Comment


    • #3
      Screenshot of problem.....
      Attached Files

      Comment


      • #4
        Well, what's this thingy doing there?

        Code:
        <!-- /spacer -->
        </td><td width="10"><img width="10" height="1" src="http://www.vbulletin.org/forum/images/space.gif" alt=""></td></tr></table>
        <!-- /spacer -->
        Try removing that and see if it helps...
        http://www.arsegaming.com/dice/index.php/stuff.jpg

        Comment


        • #5
          No joy mate, it messes it up even more

          Comment


          • #6
            How the hell has the code changed to vbulletin.org everywhere? That aint my code.... This is mine.....

            {htmldoctype}
            <html>
            <head><title>$bbtitle - $thread[title]</title>
            $headinclude
            <script language="javascript" type="text/javascript">
            <!--
            function aimwindow(aimid) {
            window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,w idth=175,height=275,resizeable=yes,status=no")


            }
            // -->
            </script>
            </head>
            <body>
            $header

            <!-- breadcrumb, nav links -->
            <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
            <tr>
            <td>$navbar</td>
            $ratingdisplay
            </tr>
            </table>
            <!-- /breadcrumb, nav links -->

            <a name="posttop"></a>

            <!-- End content area table (CREATED IN HEADER!!) -->
            </td>
            </tr>
            </table>

            <!-- spacer -->
            <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
            <tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
            <!-- /spacer -->

            $poll

            <!-- first unread and next/prev -->
            <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
            <tr>
            <td><smallfont>$pagenav $firstunread&nbsp;</smallfont></td>
            <td align="right"><smallfont>
            <img src="{imagesfolder}/prev.gif" alt="" border="0">
            <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
            &nbsp;
            <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
            <img src="{imagesfolder}/next.gif" alt="" border="0">
            </smallfont></td>
            </tr>
            </table>
            <!-- first unread and next/prev -->

            <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
            <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
            <tr>
            <td bgcolor="{tableheadbgcolor}" width="175" nowrap><smallfont color="{tableheadtextcolor}" class="thtcolor"><b>Author</b></smallfont></td>
            <td bgcolor="{tableheadbgcolor}" width="100%">
            <!-- Thread nav and post images -->
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
            <td width="100%"><smallfont color="{tableheadtextcolor}" class="thtcolor"><b>Thread</b></smallfont></td>
            <td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a></td>
            <td><normalfont>&nbsp;&nbsp;</normalfont></td>
            <td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
            </tr>
            </table>
            <!-- /Thread nav and post images -->
            </td>
            </tr>
            </table>
            </td></tr></table>

            <!-- /spacer -->
            </td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
            <!-- /spacer -->

            $postbits

            <!-- spacer -->
            <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
            <tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
            <!-- spacer -->

            <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
            <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
            <tr>
            <td bgcolor="{tableheadbgcolor}" width="100%">
            <!-- time zone and post buttons -->
            <table border="0" cellspacing="0" cellpadding="0" bgcolor="{tableheadbgcolor}">
            <tr>
            <td width="100%"><smallfont color="{tableheadtextcolor}"><b>$timezone</b></smallfont></td>
            <td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a></td>
            <td><normalfont>&nbsp;&nbsp;</normalfont></td>
            <td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
            </tr>
            </table>
            <!-- /time zone and post buttons -->
            </td>
            </tr>
            </table>
            </td></tr></table>

            <!-- first unread and next/prev -->
            <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
            <tr>
            <td><smallfont>$pagenav&nbsp;</smallfont></td>
            <td align="right"><smallfont>
            <img src="{imagesfolder}/prev.gif" alt="" border="0">
            <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
            &nbsp;
            <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
            <img src="{imagesfolder}/next.gif" alt="" border="0">
            </smallfont></td>
            </tr>
            </table>
            <!-- first unread and next/prev -->

            <!-- /spacer -->
            </td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
            <!-- /spacer -->

            <!-- restart content table from header -->
            <table cellpadding="10" cellspacing="0" border="0" width="{tablewidth}" bgcolor="{pagebgcolor}" align="center">
            <tr>
            <td>

            <!-- thread options links -->
            <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} align="center"><tr><td>
            <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
            <tr>
            <td bgcolor="{firstaltcolor}" align="center"><smallfont>
            <img src="{imagesfolder}/printer.gif" alt="" border="0" align="absmiddle">
            <a href="printthread.php?s=$session[sessionhash]&threadid=$threadid">Show Printable Version</a> |
            <img src="{imagesfolder}/sendtofriend.gif" alt="" border="0" align="absmiddle">
            <a href="sendtofriend.php?s=$session[sessionhash]&threadid=$threadid">Email this Page</a> |
            <img src="{imagesfolder}/subscribe.gif" alt="" border="0" align="absmiddle">
            <a href="member2.php?s=$session[sessionhash]&action=addsubscription&threadid=$threadid">Subscribe to this Thread</a>
            </smallfont></td>
            </tr>
            </table>
            </td></tr></table>
            <!-- /thread options links -->

            <br>

            <!-- forum jump and rate thread -->
            <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
            <tr>
            <td>$forumjump</td>
            <td align="right">$threadrateselect</td>
            </tr>
            </table>
            <!-- /Rate this thread -->

            <br>

            <!-- forum rules and admin links -->
            <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
            <tr valign="bottom">
            <td><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td>
            <td align="right">
            $adminoptions
            </td>
            </tr>
            </table>
            <!-- /forum rules and admin links -->

            $footer

            </body>
            </html>

            Comment


            • #7
              well the 2 photos are from 2 different places for a start you have forum display and showthread, so they should look different............

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X