Hi,
I have a page with a form that is included into a php page. It has
some php variables which are headers based on the user choices. In
the form I will send some mysql data columns but right now I'm just
formatting the form inside the tables. I added the table with the
form yesterday and a button. After the data comes from php server I
want the user to be able to click the Excel button at the bottom and
the form output will go to Excel not to the browser. So far so good.
In my page in the browser there is a menu to the left of the page.
That is one column. The data is a column to the right. Right now my
Excel button is under the menu column and I want it under the data
column of the table. I tried all day yesterday moving the <table</
tabletags and <TD</TDtags at different places to get the button
to be on the right under the second column not the first column. No
matter what I do it stays right under the menu column on the far left
of the page.
I wish I could show you the page. There is a logo at the top to the
left. There is a included included header under that says home,
login, logout. Then there is the menu column to the left, and a main
column to the right. The main column header changes according to
which page the user is on. The variable is MSG_carlist. That is just
the title bar over the 2nd column of data. The TPL_carnumbers is the
column of data. I want that silly little button under this.
I added the form and the button to capture the values of the user
selection to output to excel. The php/mysql part isn't done yet and
it is on the included page. Can someone help me get my markup
straight.
thanks for any help,
--------------
<table width="100%" border="0" cellpadding="0" cellspacing="0"
class="content">
<tr>
<td width=<?=GetMenuwidth()?>% valign="top" class="columL">
<table width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td class="titTable1"><div id="imgTitL"><img src="<?=
$SETTINGS['siteurl']?>images/transparent.gif" width="10" height="10"></
div>
<?=$MSG_276a; ?><!-- div id="imgTitR"><img src="<?=
$SETTINGS['siteurl']?>images/transparent.gif" width="10" height="10"></
div --></td>
</tr>
<tr>
<td class="table1"><div id="table1ul">
<? include $template_path."menu.php.html"; ?>
</div></td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
class="maincolum">
<tr>
<td class="titTable2"><div id="imgTitL"><img src="<?=
$SETTINGS['siteurl']?>images/transparent.gif" width="20" height="10"></
div>
<?=$MSG_carlist?></td>
</tr>
<tr>
<td>
<?=$TPL_carnumbers;?>
</td>
</table>
#
#
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
<tr>
<td align='center'><?=$TPL_ids?></td>
<td valign='top'>
<table width="100%" border="0" cellspacing="0"
cellpadding="2">
<tr>
</table>
</td>
</tr>
<tr>
<td >
<img SRC='<?=$SITEURL."images/xl2.jpg"?>' <INPUT
TYPE="submit" VALUE="Open in Excel" ALT="Open in Excel" NAME="assign"
class="button">
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>