Forum Moderators: open

Message Too Old, No Replies

Table Cells Acting Weird

This must have a simple solution!

         

NightDragon

9:59 am on Dec 30, 2008 (gmt 0)

10+ Year Member



Alright, I haven't done any coding in a loooong while haha...the answer probably is staring me in the face, but I can't for the life of me figure out why this isn't working.

<table class="mine" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="leftbar" rowspan="5" height="800" width="17"><img src="/Test/LeftBar.jpg"></td>
<td class="header" height="111" width="900"><img src="/Test/Header.jpg"></td>
<td class="rightbar" rowspan="5" height="800" width="17"><img src="/Test/RightBar.jpg"></td>
</tr>
<td height="18" width="900"><img src="/Test/NavBar.jpg"><img src="/Test/NavUpdates.jpg"><img src="/Test/NavArtwork.jpg"><img src="/Test/NavTutorials.jpg"><img src="/Test/NavAbout.jpg"><img src="/Test/NavContact.jpg"><img src="/Test/NavLinks.jpg"></td>
</tr>
<tr>
<td height="399" width="900"><img src="/Test/MainSmall.jpg"></td>
</tr>
<tr>
<td align="left" height="174" width="299"><img src="/Test/Updates.jpg"><img src="/Test/TextBox.jpg"></td>
</tr>
<tr>
<td height="98" width="900"><img src="/Test/Footer.jpg"></td>
</tr>
</table>

Now in the row that contains the "Updates" and "Textbox" images...I currently have 2 images there. I want to replace them with two table cells (that will contain these images. The TextBox image will be the background for the right cell). Simple enough, right?...the TextBox cell keeps getting pushed out to the left though, every time I add it.

Any assistance would be greatly appreciated, and I'm sure I'll give myself a facepalm later. Thanks :)

[edited by: tedster at 11:20 pm (utc) on Dec. 30, 2008]

Habtom

10:10 am on Dec 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<tr> missing on the 7th line.
You need to set the colspan=3 for the other tds'.

NightDragon

9:31 am on Dec 31, 2008 (gmt 0)

10+ Year Member



Woo! All solved. Thank you!

phranque

9:42 am on Dec 31, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The W3C Markup Validation Service [validator.w3.org] would have found this instantly.
i use the same validator with the Web Developer firefox add-on.