Jump to content

[SOLVED] huge code, small problem (tables)


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.