roxics |
03-21-2004 11:15 PM |
Postbit table issue
1 Attachment(s)
I always have difficulty with tables. For some reason these aren't lining up right:
Here is my code:
PHP 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 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] <normalfont><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]</a> </b></normalfont><br> <smallfont> $post[avatar]<br> <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]">Edit</a> | <a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]">Quote</a></smallfont><br> </td> <td bgcolor="$post[backcolor]" width="100%" valign="top"> <smallfont>$post[icon] <b>$post[title]</b><br>Posted: $post[postdate] - <font color="{timecolor}">$post[posttime]</font> - $post[editedby]</smallfont><hr> <p><normalfont>$post[message]</normalfont></p> <smallfont>$post[attachment]<br> </smallfont> </td> </tr> </table> </td> </tr> </table> </td></tr></table>
Attached is a screenshot of the problem. See how the inside table doesn't line up with the outer table.
|