Ok this is my html code. What happens is the first td which is 60% in width takes up like 95% and the second td which is suppose to be 40% only has like 5% width space. I can change the widths in the code yet the actual width will not change in the html. Thank you
<table class=\"table2\">
<tr><td width=60% align=left bgcolor=#CDCDCD>Posted By: <a href=/myprofile/$author>$author</a> |
Joined: $cdate | Posts: $posts</td><td width=40% align=right>$edit</td></tr>
<tr>
<td width=100%>". nl2br($body) ."
</td>
</tr>
</table>
[SOLVED] Html what the heck?
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
your body output's td is set to 100% width, and is not a colspan, so yeah, that makes sense.. 
Code: Select all
<table class="table2">
<tr><td width=60% align=left bgcolor=#CDCDCD>Posted By: <a href=/myprofile/$author>$author</a> |
Joined: $cdate | Posts: $posts</td><td width=40% align=right>$edit</td></tr>
<tr>
<td colspan=2>". nl2br($body) ."
</td>
</tr>
</table>