Jump to content

table in a table


runnerjp

Recommended Posts

hey guys gotta problem

 

ok im useing tables as layouts ( i know its bad but thats wat im duin lol)

so i have my body layout that each page will form

 

  <table width="100%" summary="main body">
  <tr>
    <td width="15%" align="left" valign="top" bgcolor="#FFFFFF">
      <center><?include("include/info.inc.php"); ?></center>
    
    <?include("$menu");?></td>	
    <td align="left" valign="top" bgcolor="#FFFFFF">

<div id="linedown">
<img src="http://www.runnerselite.com/images/linedown.jpg" alt="linedown"></div>
<?
	if (file_exists($content)) {
	include($content);
	} else {?><?echo $content;?>
</p><?} ?>    </td>
  </tr>
</table>

 

the content area is where everything will go yet when i try and add my othe rcontent (in a table again)

<table width="100%">
  <tr>
    <td align="left" valign="top"><h1 align="left"><img src="../images/runner.jpg" alt="runner" width="127" height="155" align="left"/></h1>
        <h1 align="center"> Welcome Back To RunnersElite!</h1>
     <center> <?
            include("include/adminerr.inc.php");
            if($auth[error]) { include("include/messages/index_unverified.inc.php"); }
            else { include("include/messages/index_verified.inc.php"); } ?></center>
      <a href="../register.php"><img align="left" src="../images/bemem.gif" alt="signup" width="280" height="250" border="0" /></a>
   </td>
    <td align="left" valign="top"><?include("include/loginbox.inc.php"); ?></td>
  </tr>
</table>

 

see the content now goes below the other table but i want it in the table...what do i do?

Link to comment
https://forums.phpfreaks.com/topic/41113-table-in-a-table/
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.