PDA

View Full Version : Table error????


kamu
05-04-2003, 05:19 AM
If you check in my attachment.. i am having an error with a cell.. im not sure what is causing it..
any help appreciated.. thnx

Tony G
05-04-2003, 05:54 AM
A colspan maybe? We'd need code from the forumhome_forumbit_level1_nopost. Or if it's not there, we'll look elsewhere.

kamu
05-04-2003, 06:09 AM
ill post the code in a sec

kamu
05-04-2003, 09:31 AM
</table>
</td></tr></table>

<TABLE cellSpacing=0 cellPadding=0 width=743 align=center
border=0><TBODY>
<TR>
<TD width=4><IMG height=4
src="images/fd_btm_left.gif" width=4></TD>
<TD width=735
background=images/fd_btm_bg.gif><IMG height=1
src="images/space.gif" width=1></TD>
<TD width=4><IMG height=4
src="images/fd_btm_right.gif"
width=4></TD></TR></TBODY></TABLE><BR>

<TABLE cellSpacing=0 cellPadding=0 width=743 align=center
border=0 ><TBODY>
<TR>
<TD width=18><IMG height=18
src="images/top_left.gif" width=18></TD>
<TD vAlign=center align=middle width=707
background=images/top_bg.gif><b>
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]">
<font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">
$forum[title]</font></a></b></TD>
<TD width=18><IMG height=18
src="images/top_right.gif"
width=18></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=743 align=center
border=0 colspan="5"><TBODY>
<TR>
<TD width=2><IMG height=4
src="images/orange_linetop_left.gif" width=2></TD>
<TD width=739
background=images/orange_linetop_bg.gif><IMG
height=1 src="images/space.gif" width=1></TD>
<TD width=2><IMG height=4
src="images/orange_linetop_right.gif"
width=2></TD></TR></TBODY></TABLE><!-- Start of Border Code -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
bgColor=#253f5c border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=4 width="743" border=0><!-- End of Border Code -->
<TBODY>
<TR align=middle>
<TD background=images/cat2_backing.gif
bgColor=#69798f ?><FONT face=verdana,arial,helvetica
color=#ffffff size=1><B>New</B></FONT></TD>
<TD align=left width="80%"
background=images/cat2_backing.gif
bgColor=#69798f ?><FONT face=verdana,arial,helvetica
color=#ffffff size=1><B>Forum</B></FONT></TD>
<TD background=images/cat2_backing.gif
bgColor=#69798f ?><FONT face=verdana,arial,helvetica
color=#ffffff size=1><B>Posts</B></FONT></TD>
<TD background=images/cat2_backing.gif
bgColor=#69798f ?><FONT face=verdana,arial,helvetica
color=#ffffff size=1><B>Threads</B></FONT></TD>
<TD noWrap background=images/cat2_backing.gif
bgColor=#69798f ?><FONT face=verdana,arial,helvetica
color=#ffffff size=1><B>Last Post</B></FONT></TD></TR>

filburt1
05-04-2003, 04:00 PM
I can't analyze it now but Tony's probably right in that you're missing a colspan="2" or an existing colspan is too low. Also you should quickly lose the nasty habit of not adding quotes around attributes. :)

Tony G
05-05-2003, 04:53 AM
It's very hard to analyse without using the "'s like filburt mentioned. Using those and indents makes your code alot more analyzable (If that is a word ;)) and I can scan it a bit easier.

Anyway, since you have removed a column. There was 6 existing ones so make sure the colspan is now 5. And make sure you haven't taken out any important colspans where you need them. I could only find one instance where there is a colspan, and I think you need it to appear more then once. I suspect there should have been one in the last bit of code, but I'm not sure.