Page 1 of 1

Html help required.

Posted: Thu Jan 25, 2007 7:11 am
by Tricky
I need to have a small site done by this evening. I finished the layout design, but I'm having trouble setting up the base table for it, I just can't remember how to get it done right. Haven't toyed with websites in several years, so I'm a little rusty.

This is how the table is supposed to be organized:
http://i119.photobucket.com/albums/o136 ... /HELP1.gif

This is the code I used:

Code: Select all

<TABLE BORDER HEIGHT=477 WIDTH=601>
<TD ROWSPAN=3>MENU CELL</TD>
<TD ROWSPAN=3>MENU CELL2</TD>
<TR><TD>TOP BAR</TD></TR>
<TR><TD>MIDDLE</TD></TR>
<TR><TD>BOTTOM BAR</TD></TR>
<TD ROWSPAN=3>MENU CELL3</TD>
</TABLE>
This is how it looks:
http://i119.photobucket.com/albums/o136 ... /helpp.gif :(

I placed a red arrow next to some mysterious extra cell spacing that appeared right above the 'TOP BAR' cell. I feel like I'm missing something, but my O'Reilly html bible doesn't seem to mention anything about this. I could use a little help, I've wasted too much time on this already.

Posted: Thu Jan 25, 2007 9:06 am
by Sentinel
I think the problem is that you stuck everything in a single HTML table, the solution is probably to turn the third column into a table itself, then add the rows.
Tricky wrote:

Code: Select all

<TABLE BORDER HEIGHT=477 WIDTH=601>
<TD ROWSPAN=3>MENU CELL</TD>
<TD ROWSPAN=3>MENU CELL2
<TABLE>
<TR><TD>TOP BAR</TD></TR>
<TR><TD>MIDDLE</TD></TR>
<TR><TD>BOTTOM BAR</TD></TR></TABLE>
</TD>
<TD ROWSPAN=3>MENU CELL3</TD>
</TABLE>
Something like that, I think.

Posted: Thu Jan 25, 2007 9:17 am
by Tricky
That may or may not pose a problem because I need to insert a hyperlink in 'menu cell 1' that alters a frame in 'middle'. I'll get to that later though, lets see if this works.

Edit: It does something altogether different, but it gets closer to the end result than I've been able to come.

Edit: I found a different approach. This thread can be closed or deleted.

Posted: Fri Jan 26, 2007 1:44 am
by Xandax
I know you said you were done, but I'd just like to provide some input:

I think your issue is that you have some of your TD tags outside TR tags. That I recall will cause issues as they have to be nested.
However, I've not worked much with tables lately, we/I use div-tags for all such positioning now, as it is much easier to use change/update designs (although a bit more tricky to use).