Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Based on your description, this is the best I could come up with using CSS to style it.</p> <pre><code>&lt;style&gt; div {height: 180px; width: 300px;} #image { float:left; } table { float:right; margin-top: 130px; } &lt;/style&gt; &lt;div&gt; &lt;input id="image" type="image" src="image.jpg" name="tee" width="180" height="180" ALIGN="center"&gt; &lt;table&gt; &lt;tr&gt;&lt;td&gt;&lt;input type="hidden" name="on0" value="Color"&gt;Color&lt;/td&gt;&lt;td&gt;&lt;input type="hidden" name="on1" value="Size"&gt;Size&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;select name="os0"&gt; &lt;option value="White"&gt;White&lt;/option&gt; &lt;option value="Black"&gt;Black&lt;/option&gt; &lt;option value="Grey"&gt;Grey&lt;/option&gt; &lt;/select&gt; &lt;/td&gt; &lt;td&gt;&lt;select name="os1"&gt; &lt;option value="S"&gt;S &lt;/option&gt; &lt;option value="M"&gt;M &lt;/option&gt; &lt;option value="L"&gt;L &lt;/option&gt; &lt;option value="XL"&gt;XL &lt;/option&gt; &lt;/select&gt; &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;/div&gt; </code></pre> <p>But you can also fix the issue by using a table and then vertically aligning the contents of the second cell in the row to the bottom.</p> <pre><code> &lt;table&gt;&lt;tr&gt;&lt;td&gt; &lt;input id="image" type="image" src="image.jpg" name="tee" width="180" height="180" ALIGN="center"&gt;&lt;/td&gt; &lt;td valign="bottom"&gt; &lt;!-- This line right here is what does the trick --&gt; &lt;table&gt; &lt;tr&gt;&lt;td&gt;&lt;input type="hidden" name="on0" value="Color"&gt;Color&lt;/td&gt;&lt;td&gt;&lt;input type="hidden" name="on1" value="Size"&gt;Size&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;select name="os0"&gt; &lt;option value="White"&gt;White&lt;/option&gt; &lt;option value="Black"&gt;Black&lt;/option&gt; &lt;option value="Grey"&gt;Grey&lt;/option&gt; &lt;/select&gt; &lt;/td&gt; &lt;td&gt;&lt;select name="os1"&gt; &lt;option value="S"&gt;S &lt;/option&gt; &lt;option value="M"&gt;M &lt;/option&gt; &lt;option value="L"&gt;L &lt;/option&gt; &lt;option value="XL"&gt;XL &lt;/option&gt; &lt;/select&gt; &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; </code></pre> <p>hope this helps!</p>
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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