View Full Version : These tables are really getting frustrating...


SizzZzlinhair
03-31-2003, 12:35 PM
I keep changing the width, but it has no effect! Here's whar I have: <table border="0" cellpadding="5" cellspacing="10" width="600 ">
<tr>
<td bgcolor="#FFFFFF" width="
400 " ><td valign="top">Cell 1. Testing 1.. 2.. 3.. 4..</td>
<td bgcolor="#FFFFFF" width="600 " ><td valign="top">Cell 2. Testing 1.. 2.. 3.. 4..</td>
</tr>
</table>

epolady
03-31-2003, 12:44 PM
What are you trying to do exactly?

Your table is 600px wide overall, yet you're wanting your cells to be 1000px together? Which is it?


<td bgcolor="#FFFFFF" width="400 " ><td valign="top">Cell 1. Testing 1.. 2.. 3.. 4..</td>

doesn't really make any sense, you have 2 <td> tags, but only one <Td> has information in it...

p.s. this should've been in the tables forum

SizzZzlinhair
03-31-2003, 01:32 PM
No, I was just playing around with the widths because they weren't working. Sorry, I kno, I realized that it was in the wrong place right after I posted it ;_; And I really don't know what I'm doing.. I kinda want it to be like this petpage's layout: http://home.neopets.com/templates/homepage.phtml?pet_name=Everestar

Alcy
03-31-2003, 08:23 PM
The table on the page seems to sized with percents... it shrinks when I make the window smaller, so try something like:

<table width="100%" height="100%" border="0" cellpadding="5" cellspacing="10">
<tr>

<td width="25%" valign="top">GRAPHIC</td>
<td width="25%" valign="top">SIDEBAR</td>
<td width="50%" valign="top">CONTENT</td>

</tr>
</table>