title: HTML table settings not working
body: <p>I'm trying to tamper with my html table settings to set borders but I think my syntax is wrong. I've looked around online and tried multiple things with no success. Any suggestions? </p>
  
  <p>For example, this code is applied to the first table but does not appear correctly on page.</p>
  
  <pre><code>&lt;table BORDER="30" CELLPADDING="10" CELLSPACING="3" BORDERCOLOR="00FF00" width='80%' style="margin: 0 auto;"&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>HTML code is applied here: <a href="http://macrorevolution.com/calculators/bmr/" rel="nofollow">http://macrorevolution.com/calculators/bmr/</a></p>
  
  <p>The only table settings that seem to work are "width='80%' style="margin: 0 auto;""</p>
  
  <pre><code>&lt;?php
  $answer = "";
  $agev = "";
  $feetv = "";
  $inchesv = "";
  $weightv = "";
  $sex = "";
  if(isset($_POST['agev']) &amp;&amp; isset($_POST['feetv']) &amp;&amp; isset($_POST['inchesv']) &amp;&amp; isset($_POST['weightv']) &amp;&amp; isset($_POST['sex'])) {
      $agev = $_POST['agev'];
      $feetv = $_POST['feetv'];
      $inchesv = $_POST['inchesv'];
      $weightv = $_POST['weightv'];
      $sex = $_POST['sex'];
      $totalheightv = $inchesv + ($feetv*12);
      $heightcm = $totalheightv*2.54;
      $weightkg = $weightv/2.2;
      if($sex=='male') $answer = 66.47 + (13.75*$weightkg) + (5*$heightcm) - (6.75*$agev);
      if($sex=='female') $answer = 665.09 + (9.56*$weightkg) + (1.84*$heightcm) - (4.67*$agev);
  
  }
  ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Basal Metabolic Rate Calculator&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="box pt20"&gt;
  &lt;table BORDER="30" CELLPADDING="10" CELLSPACING="3" BORDERCOLOR="00FF00" width='80%' style="margin: 0 auto;"&gt;
      &lt;td colspan="4"&gt;
      &lt;h4 style="background: #99FF99;"&gt;
  &lt;strong&gt;BMR = Basal Metabolic Rate&lt;/strong&gt; (similar to RMR = Resting Metabolic Rate). Your BMR represents the number of calories your body burns at rest. Regular routine of cardiovascular exercise can increase your BMR, improving your health and fitness when your body's ability to burn energy gradually slows down.
      &lt;/h4&gt;
      &lt;/td&gt;
  &lt;/table&gt;
  
  &lt;form method='post' action=''&gt;
  &lt;table border='5' width='80%' font-family:Georgia; font-size:1; class="table" style="margin: 0 auto;" bgcolor="FFFFFF"&gt;
  
      &lt;tr class="calcheading"&gt;
          &lt;td colspan="2"&gt;&lt;font size="10"&gt;MacroRevolution BMR Calculator&lt;/font&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="calcrow"&gt;
          &lt;td&gt;Age:&lt;/td&gt;
          &lt;td&gt;&lt;input type='text' name='agev' value="&lt;?php echo $agev; ?&gt;"/&gt;Years&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="calcrow2"&gt;
          &lt;td&gt;Height:&lt;/td&gt;
          &lt;td align="justify"&gt;&lt;input type='text' name='feetv' value="&lt;?php echo $feetv; ?&gt;"/&gt;Ft&lt;input type='text' name='inchesv' value="&lt;?php echo $inchesv; ?&gt;"/&gt;In&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="calcrow"&gt;
          &lt;td&gt;Weight:&lt;/td&gt;
          &lt;td align="left"&gt;&lt;input type='text' name='weightv' value="&lt;?php echo $weightv; ?&gt;"/&gt;lbs&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="gender"&gt;
          &lt;td colspan="2"&gt;&lt;input type='radio' name='sex' value='male'&gt;Male
                          &lt;input type='radio' name='sex' value='female'&gt;Female&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="submit"&gt;
          &lt;td colspan="2"&gt;&lt;input type='submit' class="button highlight small" value='Calculate'/&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="calcrow"&gt;
          &lt;td colspan="2"&gt;Your BMR is &lt;span style="background-color: #00CC33"&gt;&lt;?php echo $answer?&gt;&lt;/span&gt;&lt;/td&gt;
      &lt;/tr&gt;
  
  &lt;/table&gt;
  &lt;/form&gt;
  
  
  &lt;table border='0' width='80%' class="table" align="center" style="margin: 0 auto;"&gt;
      &lt;td colspan="4"&gt;
  
      &lt;h2 style="background: #99FF66;"&gt;Formula for BMR&lt;/h2&gt;
      &lt;h4 style="background: #99FF66;"&gt;
      If you want to manually calculate your BMR, use the (&lt;a href="http://en.wikipedia.org/wiki/Harris%E2%80%93Benedict_equation"&gt;Harris-Benedict formula&lt;/a&gt;) &lt;br&gt; below. &lt;br&gt;&lt;br&gt;
  Men: BMR=66.47+ (13.75 x W) + (5.0 x H) - (6.75 x A) &lt;br&gt;
  Women: BMR=665.09 + (9.56 x W) + (1.84 x H) - (4.67 x A) &lt;br&gt;&lt;br&gt;
  
      W = Weight in kilograms (lbs/2.2)&lt;br&gt;
      H = Height in centimeters (inches x 2.54)&lt;br&gt;
      A = Age in years
      &lt;/h4&gt;
      &lt;/td&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  
  &lt;!-- ///////////////////////////////////////////////////////////////////////////////////////////--&gt;
  </code></pre>