Note that there are some explanatory texts on larger screens.

plurals
  1. POBottom table row goes to top
    primarykey
    data
    text
    <p>I have the following table code that each row contains a form. My problem is, the bottom row, where the input and submit are, is going to the top above the top table row. I cannot figure out why. Can someone please help and explain why the bottom row goes to the very top?</p> <p>Thanks. </p> <pre><code>&lt;table id="bet_table" width=800px cellspacing=0 cellpadding=1 border-width=1px&gt; &lt;tr bgcolor="BF1919" style="color:#fff; font-weight:bold;"&gt; &lt;td&gt;&lt;center&gt;Time&lt;/center&gt;&lt;/td&gt; &lt;td&gt;&lt;center&gt;Game #&lt;/center&gt;&lt;/td&gt; &lt;td&gt;&lt;center&gt;Teams&lt;/center&gt;&lt;/td&gt; &lt;td&gt;&lt;center&gt;Run Line&lt;/center&gt;&lt;/td&gt; &lt;td&gt;&lt;center&gt;Money Line&lt;/center&gt;&lt;/td&gt; &lt;td&gt;&lt;center&gt;Total Runs&lt;/center&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor="#F0F0F0"&gt; &lt;td colspan=6&gt;&lt;center&gt;&lt;strong&gt;August 28, 2012&lt;/strong&gt;&lt;/center&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor="#fff"&gt; &lt;form action="mlb.php?action=update&amp;gameid=" method="post" /&gt; &lt;td width="130px"&gt;&lt;center&gt;&lt;input type="text" size="4" name="time" value="7:00" /&gt; &lt;select name="ampm"&gt; &lt;option value="AM"&gt;A.M. &lt;option value="PM"&gt;P.M. &lt;/select&gt;&lt;/center&gt;&lt;/td&gt; &lt;td width="60px"&gt;&lt;center&gt;306&lt;/center&gt;&lt;/td&gt; &lt;td&gt;Los Angeles Dodgers&lt;br /&gt;Los Angeles Angels&lt;/td&gt; &lt;td width="150px"&gt;&lt;center&gt; &lt;select name="runline1frac"&gt; &lt;option value="-1/2"&gt;-1&amp;frac12; &lt;option value="+1/2"&gt;+1&amp;frac12; &lt;/select&gt; &amp;nbsp; &lt;input type="text" size="4" name="runline1value" value="+120" /&gt;&lt;br /&gt; &lt;select name="runline2frac"&gt; &lt;option value="-1/2"&gt;-1&amp;frac12; &lt;option value="+1/2"&gt;+1&amp;frac12; &lt;/select&gt; &amp;nbsp; &lt;input type="text" size="4" name="runline2value" value="-182" /&gt;&lt;/center&gt;&lt;/td&gt; &lt;td width="80px"&gt;&lt;center&gt;&lt;input type="text" size="4" name="moneyline1value" value="-132" /&gt;&lt;br /&gt;&lt;input type="text" size="4" name="moneyline2value" value="+132" /&gt;&lt;/center&gt;&lt;/td&gt; &lt;td align=right&gt;Total Runs: &lt;input type="text" size="3" name="totalruns" value="6" /&gt; &amp;nbsp; OV &amp;nbsp; &lt;input type="text" size="4" name="totalrunsOvalue" value="-178" /&gt;&lt;br /&gt;UN &amp;nbsp; &lt;input type="text" size="4" name="totalrunsUvalue" value="+123" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr colspan=6&gt; &lt;center&gt; &lt;input type="submit" value="Update" /&gt; &lt;/form&gt; &lt;/center&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload