vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Align problem... Help? (https://vborg.vbsupport.ru/showthread.php?t=39279)

Webmasta XT 05-31-2002 08:20 PM

Align problem... Help?
 
1 Attachment(s)
Hey my postbit is all messed up, I have no idea why!!
The attachement below shows whats actually messed up, I want everything on my forums to be 100% width, but somehow I can't get that stupid postbit to be 100%

Xanthine 05-31-2002 08:24 PM

You probably have cellpadding on in the template.

Webmasta XT 05-31-2002 08:26 PM

Want me to post the html?

Webmasta XT 05-31-2002 08:27 PM

PHP Code:

<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10">&nbsp;</td><td width="100%"><!-- spacer -->

<
table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextrawidth="{contenttablewidth}" align="center"><tr><td>
<
DIV id="p$post[postid]h" style="display:$ph">
<
table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextrawidth="100%">
<
tr>
    <
td bgcolor="$post[backcolor]width="175" valign="top" nowrap>$plusimg    <normalfont><b>$post[username]</b></normalfont></td>
    <
td bgcolor="$post[backcolor]width="100%" valign="top">
        <
table width="100% cellspacing="0" cellpadding="0" border="0">
        <tr>
        <td><smallfont>
$post[icon] <b>$post[title]</b></smallfont></td>
        <td align="
right" nowrap><smallfont>$onlinestatus $post[foldericon] $post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
        </tr>
        </table>
</tr>
</table>
</DIV>

<DIV id="
p$post[postid]e" style="display:$pe">
<table cellpadding="
4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
    <td bgcolor="
$post[backcolor]" width="175" valign="top" nowrap>
    <a name="
post$post[postid]"></a>
    
$post[firstnewinsert]
$minusimg
    <normalfont><b>
$post[username]
    </b></normalfont><smallfont>[
$post[search]]</smallfont><normalfont><b><br>
    </b>
    <smallfont>[-] 
    <smallfont><b>
$post[usertitle]</b><smallfont><br>
$post[stars]<br>    
<smallfont>
$post[avatar]<br>
    <br>
    <smallfont>[-] Members Stats<normalfont><smallfont><font size="
1" face="Verdana"><b><br>
    Health</b>: 
$hp / $maxhp </font>
    <smallfont><br><table cellSpacing="
0" cellPadding="0" width="100" border="0">
  <tr>
    <td width="
3" height="13">
    <img src="
http://www.xtreme-forumz.net/images/bars/img_left.gif" width="3" height="13"></td>
    
<td align="left" width="94" background="http://www.xtreme-forumz.net/images/bars/img_backing.gif" height="13">
    <
img height="13" src="http://www.xtreme-forumz.net/images/bars/img_fill.gif" width="$hpf%"></td>
    <
td width="3" height="13">
    <
img src="http://www.xtreme-forumz.net/images/bars/img_right.gif" width="3" height="13"></td>
  </
tr><smallfont>
</
table>                  <font face="Verdana" size="1"><b>Activity</b>: $mp $maxmp
</font
                  <
table cellSpacing="0" cellPadding="0" width="100" border="0">
  <
tr><smallfont>
    <
td width="3" height="13">
    <
img src="http://www.xtreme-forumz.net/images/bars/img_left.gif" width="3" height="13"></td>
    <
td align="left" width="94" background="http://www.xtreme-forumz.net/images/bars/img_backing.gif" height="13">
    <
img height="13" src="http://www.xtreme-forumz.net/images/bars/img_fill.gif" width="$mpf%"></td>
    <
td width="3" height="13">
    <
img src="http://www.xtreme-forumz.net/images/bars/img_right.gif" width="3" height="13"></td>
  </
tr><smallfont>
</
table>                  <b><font face="Verdana" size="1">Experience</font></b><font size="1" face="Verdana">: $ep%</font><table cellSpacing="0" cellPadding="0" width="100" border="0">
  <
tr>
    <
td width="3" height="13">
    <
img src="http://www.xtreme-forumz.net/images/bars/img_left.gif" width="3" height="13"></td>
    <
td align="left" width="94" background="http://www.xtreme-forumz.net/images/bars/img_backing.gif" height="13">
    <
img height="13" src="http://www.xtreme-forumz.net/images/bars/img_fill.gif" width="$ep%"></td>
    <
td width="3" height="13">
    <
img src="http://www.xtreme-forumz.net/images/bars/img_right.gif" width="3" height="13"></td>
  </
tr>
</
table>
    <
smallfont><br>
    <
smallfont>[-] Members Info<br>
<
b>
<
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9">
</
b></font>
    
            <
b>Posts</b>: $post[posts]<font face="verdana, arial, helvetica" size="1"><br>
<
b>
<
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"> </b></font>
    <
b>Member ID</b>: $post[userid]</font><font face="verdana, arial, helvetica" size="1"><br>
</
font><b><font face="verdana, arial, helvetica" size="1">
<
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"></font></b><font face="verdana, arial, helvetica" size="1"><b>
</
b></font>
    <
b>Items</b>: <smallfont>
    <
smallfont$post[items]</smallfont><smallfont><smallfont><font face="verdana, arial, helvetica" size="1"><b><br>
</
b></font><b><font face="verdana, arial, helvetica" size="1">
<
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"></font></b><font face="verdana, arial, helvetica" size="1"><b>
</
b></font>
    <
b>Level</b>: $showlevel</font><smallfont><smallfont><font face="verdana, arial, helvetica" size="1"><br>
</
font><b><font face="verdana, arial, helvetica" size="1">
<
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"></font></b><font face="verdana, arial, helvetica" size="1"><b>
</
b></font>
    <
b>Bank</b>:</a> $$post[field6] [<a href="#" onclick="javascript:window.open('itemshop.php?action=donate&user=$post[userid]', '', 'toolbar=no,scrollbars=no,resizable=no,width=300,height=50');">Donate</a>]<br>
    <
normalfont><smallfont>$goldstars$pips<br>
    <
br>
   
$post_userratings</smallfont></td>
    
    <
td bgcolor="$post[backcolor]width="100%" valign="top">
    <
table height="0" cellSpacing="0" cellPadding="0" width="100%" border="0">
      <
tr>
        <
td>
    <
smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
        <
td align="right"><smallfont>[<a href="showthread.php?postid=$post[postid]#post$post[postid]">Post #$post[postcount]</a>]</smallfont></td>
      
</tr>
      </
table>
    <
HR color="#000000" size="1">
    <
smallfont>$onlinestatus 
            
</smallfont><smallfont><smallfont>Location$post[field2] </smallfont>
    <
smallfont>| </smallfont><smallfont>Awards: <normalfont>
    <
smallfont><normalfont><smallfont>
    <
smallfont>
    <
normalfont>
    <
smallfont><normalfont>
    <
smallfont>$post[hasaward]<smallfont><smallfont> | <a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a
    | </
smallfont><smallfont>$post[iplogged]</smallfont><smallfont><HR color="#000000" size="1">
    <
p><normalfont><br>
    
$post[message]</normalfont></p>
    
$post[attachment]
    <
p>$post[signature]</p>
    <
p>$post[editedby]</td>
</
tr>
<
tr>
    <
td bgcolor="$post[backcolor]width="175" height="16" nowrap><smallfont>$post[foldericon]
    
$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
    
    <
td bgcolor="$post[backcolor]width="100%" valign="middle" height="16">
        <
table width="100%" border="0" cellpadding="0" cellspacing="0">
        <
tr valign="bottom">
            <
td><smallfont>$post[profile$post[pmlink$post[useremail$post[homepage$post[buddy]
            <!-- $ 
post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> 
            </
smallfont></td>
            <
td align="right" nowrap><smallfont>
            <
a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
            <
a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a></smallfont><smallfont>
            </
smallfont></td>
        </
tr>
        </
table>
    </
td>
</
tr>
</
table>
</
DIV>
</
td></tr></table>
</
table><BR

DO NOT STEAL ANYTHING, THIS GOES TO ALL OF YOU, I MADE THIS BY MYSELF, and WORKED HARD ON IT!!! :p

Corbu 06-02-2002 09:03 PM

sorry for my english..i'm french :

soo, the problem is that you have TWO tables in the whole table !

For the postbit, normaly you will have a table included an other table (witch containing all of the postbit) . In your postbit, It can't be align because the two tables are not the same, soo the don't work together if you understand me...

So, now, i'll give the code of your postbit, and ALL OF THIS IS ALIGN ! There is no problem, but what I do it to put into only one table all of the postbit and not into two tables.

Try it, and adjust it to your forum...

PHP Code:

<table bgcolor="#0E3652" cellpadding="0" cellspacing="0" border="0">
<
tr>
    <
td width="1">&nbsp;</td>
    <
td width="1061">
      <!-- 
spacer -->
<
table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" {tableouterextrawidth="95%" align="center"><tr><td>
<
DIV id="p$post[postid]h" style="display:$ph"> </DIV>

<
DIV id="p$post[postid]e" style="display:$pe">
              <
table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0"  width="100%">
                <
tr
                  <
td width="208" valign="top" nowrap bgcolor="$post[backcolor]">$plusimg 
                    
<normalfont><b>$post[username]</b></normalfont></td>
                  <
td width="147" valign="top" nowrap bgcolor="$post[backcolor]"><b>$post[icon]</b></td>
                  <
td valign="top" nowrap bgcolor="$post[backcolor]"><div align="right"><b><b>$post[title]$onlinestatus 
                      $post
[foldericon$post[postdate] <font color="{timecolor}">$post[posttime]</font></b></b></div></td>
                </
tr>
                <
tr
                  <
td colspan="2" valign="top" nowrap bgcolor="$post[backcolor]"
                    <
a name="post$post[postid]"></a$post[firstnewinsert$minusimg 
                    
<normalfont><b>$post[username] </b></normalfont><smallfont>[$post[search]]</smallfont><normalfont><b><br>
                    </
b> <smallfont>[-] <smallfont><b>$post[usertitle]</b><smallfont><br>
                    
$post[stars]<br> <smallfont>$post[avatar]<br> <br> <smallfont>[-] 
                    
Members Stats<normalfont><smallfont><font size="1" face="Verdana"><b><br>
                    
Health</b>: $hp $maxhp </font> <smallfont><br> <table cellSpacing="0" cellPadding="0" width="100" border="0">
                      <
tr
                        <
td width="3" height="13"> <img src="http://www.xtreme-forumz.net/images/bars/img_left.gif" width="3" height="13"></td>
                        <
td align="left" width="94" background="http://www.xtreme-forumz.net/images/bars/img_backing.gif" height="13"
                          <
img height="13" src="http://www.xtreme-forumz.net/images/bars/img_fill.gif" width="$hpf%"></td>
                        <
td width="3" height="13"> <img src="http://www.xtreme-forumz.net/images/bars/img_right.gif" width="3" height="13"></td>
                      </
tr>
                      <
smallfont
                    </
table>
                    <
font face="Verdana" size="1"><b>Activity</b>: $mp $maxmp 
                    
</font> <table cellSpacing="0" cellPadding="0" width="100" border="0">
                      <
tr><smallfont
                        <
td width="3" height="13"> <img src="http://www.xtreme-forumz.net/images/bars/img_left.gif" width="3" height="13"></td>
                        <
td align="left" width="94" background="http://www.xtreme-forumz.net/images/bars/img_backing.gif" height="13"
                          <
img height="13" src="http://www.xtreme-forumz.net/images/bars/img_fill.gif" width="$mpf%"></td>
                        <
td width="3" height="13"> <img src="http://www.xtreme-forumz.net/images/bars/img_right.gif" width="3" height="13"></td>
                      </
tr>
                      <
smallfont
                    </
table>
                    <
b><font face="Verdana" size="1">Experience</font></b><font size="1" face="Verdana">: 
                    
$ep%</font> <table cellSpacing="0" cellPadding="0" width="100" border="0">
                      <
tr
                        <
td width="3" height="13"> <img src="http://www.xtreme-forumz.net/images/bars/img_left.gif" width="3" height="13"></td>
                        <
td align="left" width="94" background="http://www.xtreme-forumz.net/images/bars/img_backing.gif" height="13"
                          <
img height="13" src="http://www.xtreme-forumz.net/images/bars/img_fill.gif" width="$ep%"></td>
                        <
td width="3" height="13"> <img src="http://www.xtreme-forumz.net/images/bars/img_right.gif" width="3" height="13"></td>
                      </
tr>
                    </
table>
                    <
smallfont><br> <smallfont>[-] Members Info<br> <b> <img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"
                    </
b></font> <b>Posts</b>: $post[posts]<font face="verdana, arial, helvetica" size="1"><br>
                    <
b> <img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"
                    </
b></font> <b>Member ID</b>: $post[userid]</font><font face="verdana, arial, helvetica" size="1"><br>
                    </
font><b><font face="verdana, arial, helvetica" size="1"
                    <
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"></font></b><font face="verdana, arial, helvetica" size="1"><b
                    </
b></font> <b>Items</b>: <smallfont> <smallfont$post[items]</smallfont><smallfont><smallfont><font face="verdana, arial, helvetica" size="1"><b><br>
                    </
b></font><b><font face="verdana, arial, helvetica" size="1"
                    <
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"></font></b><font face="verdana, arial, helvetica" size="1"><b
                    </
b></font> <b>Level</b>: $showlevel</font><smallfont><smallfont><font face="verdana, arial, helvetica" size="1"><br>
                    </
font><b><font face="verdana, arial, helvetica" size="1"
                    <
img src="http://www.xtreme-forumz.net/layout/new/arrow.gif" border="0" width="11" height="9"></font></b><font face="verdana, arial, helvetica" size="1"><b
                    </
b></font> <b>Bank</b>:</a> $$post[field6] [<a href="#" onclick="java script:window.open('itemshop.php?action=donate&user=$post[userid]', '', 'toolbar=no,scrollbars=no,resizable=no,width=300,height=50');">Donate</a>]<br
                    <
normalfont><smallfont>$goldstars$pips<br>
                    <
br>
                    
$post_userratings</smallfont></td>
                  <
td bgcolor="$post[backcolor]width="611" valign="top"
                    <
table height="0" cellSpacing="0" cellPadding="0" width="100%" border="0">
                      <
tr
                        <
td> <smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
                        <
td align="right"><smallfont>[<a href="showthread.php?postid=$post[postid]#post$post[postid]">Post 
                          
#$post[postcount]</a>]</smallfont></td>
                      
</tr>
                    </
table>
                    <
HR color="#000000" size="1"> <smallfont>$onlinestatus </smallfont><smallfont><smallfont>Location
                    
$post[field2] </smallfont> <smallfont>| </smallfont><smallfont>Awards
                    <
normalfont> <smallfont><normalfont><smallfont> <smallfont
                    <
normalfont> <smallfont><normalfont> <smallfont>$post[hasaward]<smallfont><smallfont
                    | <
a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report 
                    this post to a moderator
</a> | </smallfont><smallfont>$post[iplogged]</smallfont><smallfont
                    <
HR color="#000000" size="1"> <p><normalfont><br>
                      
$post[message]</normalfont></p>
                    
$post[attachment
                    <
p>$post[signature]</p>
                    <
p>$post[editedby]</td>
                </
tr>
                <
tr
                  <
td height="16" colspan="2" nowrap bgcolor="$post[backcolor]"><smallfont>$post[foldericon
                    
$post[postdate] <font color="#FF9C58">$post[posttime]</font></smallfont></td>
                  <
td bgcolor="$post[backcolor]width="611" valign="middle" height="16"
                    <
table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <
tr valign="bottom"
                        <
td><smallfont>$post[profile$post[pmlink$post[useremail
                          
$post[homepage$post[buddy
                          <!-- $ 
post[icqicon] -->
                          <!-- $ 
post[aimicon] -->
                          <!-- $ 
post[yahooicon] -->
                          </
smallfont></td>
                        <
td align="right" nowrap><smallfont> <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="https://vborg.vbsupport.ru/images/edit.gif" border="0" alt="Edit/Delete Message"></a
                          <
a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="https://vborg.vbsupport.ru/images/quote.gif" border="0" alt="Reply w/Quote"></a></smallfont><smallfont
                          </
smallfont></td>
                      </
tr>
                    </
table></td>
                </
tr>
              </
table>
</
DIV>
</
td></tr></table>
</
table><BR>
<
normalfont><b><b></b></b></normalfont



All times are GMT. The time now is 12:27 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.01375 seconds
  • Memory Usage 2,026KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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