Jump to content

[SOLVED] huge code, small problem (tables)


Yeodan

Recommended Posts

First of all, if no one feels like searching this code, I understand, I wouldn't want to search it either unless I was really bored!

But in case anyone does feel like fixing my problem, thx a lot!

 

This is supposed to show something like this: (table parts)

Linktable News

Linktable News

Linktable Main

Linktable Main

 

The problem is it shows something like this when the Linktable is longer than news + main:

The Main part is supposed to be right under News, but in stead it is in the middle of the Linktable part.

 

Linktable News

Linktable News

Linktable

Linktable Main

Linktable Main

Linktable

Linktable

Linktable

 

 

<html>
<body>

<table class="master" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10%" valign="top" rowspan="2">

<!-- Menu -->
<br><center><img src=images/axe.jpg></center><br>
<table width="172" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="layout/c_lefttopcorner.gif" width="20" height="15"></td>
<td width="132" background="layout/c_top.gif"></td>
<td width="20"><img src="layout/c_righttopcorner.gif" width="20" height="15"></td>
</tr>
<tr>
<td width="20" background="layout/c_left.gif"></td>
<td width="132">

<!-- Menu -->

</td>
<td width="20" background="layout/c_right.gif"></td>
</tr>
<tr>
<td width="20"><img src="layout/c_leftbottomcorner.gif" width="20" height="15"></td>
<td width="132" background="layout/c_bottom.gif"></td>
<td width="20"><img src="layout/c_rightbottomcorner.gif" width="20" height="15"></td>
</tr>
</table>
<!-- /Menu -->

</td>
<td width="90%" valign="top">

<!-- News -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="layout/c_lefttopcorner.gif" width="20" height="15"></td>
<td width="806" background="layout/c_top.gif"></td>
<td width="20"><img src="layout/c_righttopcorner.gif" width="20" height="15"></td>
</tr>
<tr>
<td width="20" background="layout/c_left.gif"></td>
<td width="806">

<!-- News -->

</td>
<td width="20" background="layout/c_right.gif"></td>
</tr>
<tr>
<td width="20"><img src="layout/c_leftbottomcorner.gif" width="20" height="15"></td>
<td width="806" background="layout/c_bottom.gif"></td>
<td width="20"><img src="layout/c_rightbottomcorner.gif" width="20" height="15"></td>
</tr>
</table>
<!-- /News -->

</td>
</tr>
<tr>
<td width="90%" valign="top">

<!-- Main -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="layout/c_lefttopcorner.gif" width="20" height="15"></td>
<td width="806" background="layout/c_top.gif"></td>
<td width="20"><img src="layout/c_righttopcorner.gif" width="20" height="15"></td>
</tr>
<tr>
<td width="20" background="layout/c_left.gif"></td>
<td width="806">

<!-- Main -->

</td>
<td width="20" background="layout/c_right.gif"></td>
</tr>
<tr>
<td width="20"><img src="layout/c_leftbottomcorner.gif" width="20" height="15"></td>
<td width="806" background="layout/c_bottom.gif"></td>
<td width="20"><img src="layout/c_rightbottomcorner.gif" width="20" height="15"></td>
</tr>
</table>
<!-- /Main -->

</td>
</tr>
</table>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/151474-solved-huge-code-small-problem-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.