Hi,
I can't figure out why this page is aligning to the right instead of centre.
If i change the html page for it to read it centres but it won't display the calculator html page centred?
http://122.252.5.130/~gridpowr/calculators.php
<?php
require_once('../include/config.php');
require_once($INCLUDE_LOCATION."/Page.php");
$page = new Page();
$page->setPageName("Calculators");
$page->setColumns(2);
$page->setContent(read_copy("calculators.html"));
echo $page->render();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<h3>Calculator</h3></span>
<hr style="width: 99.14%; height: 3px" width="99.14%" noshade="noshade" size="3" />
<form id="Form1" name="PowerCalc">
<table cellspacing="2" cellpadding="5" border="0">
<tbody>
<tr>
<td class="powercalc">Choose the size of your GridPower<sup class="super">TM</sup> System</td>
<td class="powercalc"><select id="pvCap" name="pvCap">
<option value="1000" selected="selected">GridPower 1000</option>
<option value="1500">GridPower 1500</option>
<option value="2000">GridPower 2000</option>
<option value="5000">GridPower 5000</option></select>
<td>
<div id="divPVCap" name="divPVCap"></div></td></tr>
<tr>
<td class="powercalc">Enter your post code</td>
<td class="powercalc"><input name="PCode" /></td>
<td>
<div id="divPCode" name="divPCode"></div></td></tr>
<tr>
<td class="powercalc">What do you pay for power (c/kWh)?</td>
<td class="powercalc"><input value="14" name="Pay" /></td>
<td>
<div id="divPay" name="divPay"></div></td>
<tr>
<td></td>
<td align="right"><input id="Button1" type="button" value="Calculate" name="Button1" onClick="doCalcMW()" /></td></tr></tbody></table>
<p><span class="style1">Note: May not be viewable without Internet Explorer or Firefox </span></p>
<p> </p>
<div class="image" id="divReport" style="display: none">
<table style="width: 487px; height: 404px" cellpadding="10" border="0">
<tbody>
<tr>
<td><span class="head"><strong>GridPower<sup class="super">TM</sup> System Report</strong></span>
<hr width="100%" noshade="noshade" size="3" />
<p class="normal"><strong>System :</strong> GridPower<sup class="super">TM</sup> <span id="ReportSystemSize"></span><br />
<strong>Post Code :</strong> <span id="ReportPCode"></span></p>
<p class="normal">Your system will produce <font color="red"><strong><span id="ReportEnergy"></strong></span></font> kWh of energy each year.</p>
<p class="normal">Your system will generate <font color="red"><strong><span id="ReportRECS"></strong></span></font> REC's, valued at between <font color="red"><strong><span id="ReportRECSValueLow"></span></strong></font> and <font color="red"><strong><span id="ReportRECSValueHigh"></span></strong></font> (depending on your supplier).</p>
<p class="normal">You will be eligible for a <font color="red"><strong><span id="ReportGovRebate"></strong></span></font> government rebate.</p>
<p class="normal">You will save <font color="red"><strong><span id="ReportBillSaving"></strong></span></font> off your annual energy bill.</p>
<p class="normal">You will save <font color="red"><strong><span id="ReportEmission"></strong></span></font> tonnes of greenhouse gas emissions each year; equivalent to removing <font color="red"><strong><span id="ReportCar"></strong></span></font> <span id="NumCars"></span>from the road or planting <font color="red"><strong><span id="ReportTree"></strong></span></font> trees.</p></td></tr>
<tr>
<td>
<hr width="100%" noshade="noshade" size="3" />
<p class="small">For more information on the above calculated data, please contact Alkyra on <strong>1800 074 007</strong> or alternatively drop us an email using our <a target="_blank" href="sendMail.php">online query form</a>.</p></td></tr></tbody></table></div><textarea id="Textarea2" style="display: none; width: 478px; height: 199px" name="postcodeData" rows="1" cols="1">Postcode Range,,
From,To,Zone
0,799,3
800,869,2
870,879,1
880,1000,2
1001,2356,3
2357,2357,2
2358,2384,3
2385,2393,2
2394,2395,3
2396,2398,2
2399,2399,3
2400,2400,2
2401,2404,3
2405,2407,2
2408,2410,3
2411,2414,2
2415,2536,3
2537,2537,4
2538,2544,3
2545,2557,4
2558,2626,3
2627,2629,4
2630,2630,3
2631,2639,4
2640,2820,3
2821,2842,2
2843,2872,3
2873,2874,2
2875,2876,3
2877,2889,2
2890,2897,3
2898,2899,4
2900,2999,3
3000,3390,4
3391,3398,3
3399,3413,4
3414,3426,3
3427,3474,4
3475,3514,3
3515,3516,4
3517,3520,3
3521,3524,4
3525,3538,3
3539,3539,4
3540,3549,3
3550,3560,4
3561,3569,3
3570,3570,4
3571,3606,3
3607,3617,4
3618,3622,3
3623,3628,4
3629,3657,3
3658,3684,4
3685,3687,3
3688,3724,4
3725,3731,3
3732,3999,4
4000,4416,3
4417,4417,2
4418,4422,3
4423,4423,2
4424,4426,3
4427,4473,2
4474,4476,1
4477,4478,2
4479,4485,1
4486,4490,2
4491,4492,1
4493,4499,2
4500,4721,3
4722,4722,2
4723,4723,3
4724,4735,2
4736,4736,1
4737,4824,3
4825,4827,2
4828,4828,3
4829,4829,2
4830,5261,3
5262,5263,4
5264,5270,3
5271,5300,4
5301,5429,3
5430,5450,2
5451,5653,3
5654,5669,2
5670,5679,3
5680,5699,2
5700,5709,3
5710,5722,2
5723,5724,1
5725,5733,2
5734,5799,1
5800,6243,3
6244,6250,4
6251,6254,3
6255,6270,4
6271,6315,3
6316,6357,4
6358,6393,3
6394,6400,4
6401,6430,3
6431,6431,2
6432,6433,3
6434,6439,2
6440,6441,1
6442,6444,3
6445,6459,4
6460,6467,3
6468,6469,2
6470,6471,3
6472,6474,2
6475,6506,3
6507,6555,2
6556,6573,3
6574,6602,2
6603,6607,3
6608,6641,2
6642,6724,1
6725,6750,2
6751,6797,1
6798,6799,2
6800,6999,3
7000,8999,4
9000,9999,3</textarea> </form></td></tr></table></td></tr>
</body>
</html>