SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Merging tables

  1. #1
    SitePoint Guru
    Join Date
    Sep 2007
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Merging tables

    Hi ive got a webpage at http://chatharbour.ath.cx/chat/chatharbour/windows.php and the table on the right (locations) i want to merge with the top navigation, my code is below:

    Code:
    <html>
    <head>
    <?php
    include "conf/db_connect.php";
    include "loginview.php";
    ?>
    <title><?= $chatname ?></title>
    <script type="text/javascript" src="navigation/stmenu.js"></script>
    </head>
    <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
    <table border="1" width="100%" cellspacing="0" cellpadding="0" height="100%">
    	<tr>
    		<td height="70" align="left" bgcolor="#86B6CE" width="100%" colspan="4" valign="top">
    		<iframe src="lib/largebanner.php" name="largebanners" scrolling="no" frameborder="no" align="left" height = "74px" width = "470px" allowtransparency="true">
    		</iframe>
    		<iframe src="lib/smallbanner.php" name="smallbanners" scrolling="no" frameborder="no" align="center" height = "74px" width = "294px" allowtransparency="true">
    		</iframe>
    		</td>
    	</tr>
    		<td colspan="4" height="16" align="left" valign="top" bgcolor="#86B6CE">
    <?php
    include "topnav/index.php";
    ?>
    		</td>
    	<tr>
    		<td width="350" align="center" valign="top">
    		<iframe src="defaultframe.php" name="frame" id="frame" scrolling="no" frameborder="no" align="left" height = "100%" width = "100%">
    		</iframe></td>
    		<td width="496" align="left" valign="top">
    		<iframe src="loadchat.php" name="chatframe" scrolling="no" frameborder="no" align="left" height = "100%" width = "100%">
    		</iframe>
    </td>
    		<td width="224" align="center" valign="top" height="100%">
    		<iframe src="locationselect.php" name="locationframe" scrolling="auto" frameborder="no" align="left" height = "100%" width = "100%">
    		</iframe>
    		</td>
    </tr>
    </table>
    		<iframe name="function1" scrolling="no" frameborder="no" height="0" width="0">
    		</iframe>
    </body>
    </html>
    Animated Chatrooms - www.121chatrooms.net

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    What do you mean by merge? You should not be using tables anyway! That's a list!

  3. #3
    SitePoint Guru
    Join Date
    Sep 2007
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have edited a screenshot to show you what i mean:


    to
    Animated Chatrooms - www.121chatrooms.net

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,338
    Mentioned
    465 Post(s)
    Tagged
    8 Thread(s)
    That's pretty hard to do with tables. Were this a CSS-based layout, it would not be hard. Anyhow, on smaller screen widths you would find the locations bar clashing with the menu. I don't think it's really feasible for this design. Why do you want to anyway?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •