PDA

View Full Version : how to fix the table ??


fattat
04-28-2009, 04:16 PM
this is the image i havent add in the 2 row
http://img204.imageshack.us/img204/5946/picture3x.png (http://img204.imageshack.us/my.php?image=picture3x.png)


but after add in the 2 rows in the second column, the layout is run
how to fit the table??
http://img228.imageshack.us/img228/6505/picture5r.png (http://img228.imageshack.us/my.php?image=picture5r.png)








below is my html code

<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="2" rowspan="2" align="left" valign="top" scope="col"><img src="images/lefttop.png" width="17" height="17" /></th>
<th width="468" scope="col">&nbsp;</th>
<th colspan="2" rowspan="2" align="right" valign="top" scope="col"><img src="images/rightop.png" width="17" height="17" /></th>
</tr>
<tr>
<th scope="col">when inset 2 column here the layout run</th>
</tr>

<tr>
<td width="11"><img src="images/pinkdummie.png" width="10" height="500" /></td>
<td width="6">&nbsp;</td>
<td>&nbsp;</td>
<td width="4">&nbsp;</td>
<td width="11" align="right" valign="top"><img src="images/pinkdummie.png" width="10" height="500" /></td>
</tr>

<tr>
<td colspan="2"><img src="images/leftbottom.png" width="17" height="17" /></td>
<td>&nbsp;</td>
<td colspan="2"><img src="images/rightbottom.png" width="17" height="17" /></td>
</tr>
</table>

d a v e
04-28-2009, 04:42 PM
don't use tables for layout - google css rounded corners and use a div

fattat
04-28-2009, 04:44 PM
don't use tables for layout - google css rounded corners and use a div

if i really want to use the table for layout?
how to fix the problem??

d a v e
04-28-2009, 05:19 PM
if you really want to use a table then you're going about it the wrong way ;)

the way to fix the problem is to do it the right way using div(s)

domedia
04-28-2009, 05:32 PM
if i really want to use the table for layout? Then you're on your own 8)