Hey all,
I'm re-designing my postbit template and I'm having a hard time doing it.
What I want is for each item to be boxed off, like the first attachment. Thats just a short post (e.g. a one liner), but when I view a thread with alot of posting... the result is, well, see the second attachment.
Here's the code, any hints as to where I've gone wrong?
Thanks in advance!
Edit
I'll explain with a bit more detail this time!
Basically, the table cell above the date and below the posts, I want that to fill up the rest of the space in the event that it's a long post...
I'm re-designing my postbit template and I'm having a hard time doing it.
What I want is for each item to be boxed off, like the first attachment. Thats just a short post (e.g. a one liner), but when I view a thread with alot of posting... the result is, well, see the second attachment.
Here's the code, any hints as to where I've gone wrong?
Code:
<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 width="100%" height="15" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20" height="5" valign="top" bgcolor="#666666"><img src="http://forums.legacyofkain.net/images/deepblue/left_edge.gif" width="20" height="20"></td> <td width="100%" background="http://forums.legacyofkain.net/images/deepblue/mainbg.gif" bgcolor="#666666"></td> <td width="20" height="5" valign="top" bgcolor="#666666"><img src="http://forums.legacyofkain.net/images/deepblue/right_edge.gif" width="20" height="20"></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="{tableinnerborderwidth}" bordercolor="#000000" {tableinnerextra}> <tr> <td width="175" height="10" valign="middle" nowrap bgcolor="$post[backcolor]" border="1"> <a name="post$post[postid]"></a> $post[firstnewinsert] <normalfont><b>$post[username]</b></normalfont><br> </td> <td rowspan="7" valign="top" bgcolor="$post[backcolor]"> <smallfont>$post[icon] <b>$post[title]</b></smallfont> <p><normalfont>$post[message]</normalfont></p> $post[attachment] <p>$post[signature]</p> <p>$post[editedby]</p> <p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p></td> </tr> <tr> <td width="175" height="10" valign="middle" nowrap bgcolor="$post[backcolor]"><smallfont>$post[usertitle]</smallfont></td> </tr> <tr> <td width="175" height="100" valign="middle" nowrap bgcolor="$post[backcolor]">$post[avatar]</td> </tr> <tr> <td width="175" height="10" valign="middle" nowrap bgcolor="$post[backcolor]"><smallfont>Registered: $post[joindate]</smallfont></td> </tr> <tr> <td width="175" height="10" valign="middle" nowrap bgcolor="$post[backcolor]"><smallfont>Location: $post[field2]</smallfont></td> </tr> <tr> <td width="175" height="10" valign="middle" nowrap bgcolor="$post[backcolor]"><smallfont>Posts: $post[posts]</smallfont></td> </tr> <tr> <td width="175" valign="top" nowrap bgcolor="$post[backcolor]"> </td> </tr> <tr> <td width="175" height="16" nowrap bgcolor="$post[backcolor]"><smallfont>$post[foldericon] $post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td> <td width="100%" height="16" valign="middle" bgcolor="$post[backcolor]"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="bottom"> <td><smallfont>$onlinestatus $post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $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></td> </tr> </table> </td> </tr> </table> <table width="100%" height="15" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20" height="5" valign="top" bgcolor="#666666"><img src="http://forums.legacyofkain.net/images/deepblue/left_edge_bottom.gif" width="20" height="20"></td> <td width="100%" background="http://forums.legacyofkain.net/images/deepblue/mainbg_bottom.gif" bgcolor="#666666"></td> <td width="20" height="5" valign="top" bgcolor="#666666"><img src="http://forums.legacyofkain.net/images/deepblue/right_edge_bottom.gif" width="20" height="20"></td> </tr> </table></td> </tr></table> <!-- spacer --></td> <td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table><P>
Edit
I'll explain with a bit more detail this time!
Basically, the table cell above the date and below the posts, I want that to fill up the rest of the space in the event that it's a long post...