Note that there are some explanatory texts on larger screens.

plurals
  1. POvalign="top" not working in one cell
    primarykey
    data
    text
    <p>I have a table set up where the left column is set to valign = "top". It works in all the cells except for the last one. I'm not applying any classes to this cell, so I'm really confused.</p> <p>My demo site is located here <a href="http://stevepolitodesign.comlu.com/" rel="nofollow">here</a>. The issue is with the cell containing the word "message*" at the bottom of the page.</p> <p>Here is the HTML:</p> <pre><code>&lt;form action="form.php" method="post" class="form" id="contact"&gt; &lt;table width="100%" border="0" cellspacing="0"&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt; &lt;label for="name" class="lable"&gt;name&lt;span class="red"&gt;*&lt;/span&gt;&lt;/label&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;input name="name" type="text" class="textfield" id="name" value="what do you call yourself?" size="50" maxlength="30" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt; &lt;label for="email" class="lable"&gt;e-mail&lt;span class="red"&gt;*&lt;/span&gt;&lt;/label&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;input name="email" type="text" class="textfield" id="e-mail" value="i promise i won't spam you." size="50" maxlength="50" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt; &lt;label for="project" class="lable"&gt;project&lt;/label&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;div class="selectBG"&gt; &lt;span&gt;please select...&lt;/span&gt; &lt;select name="project" id="project"&gt; &lt;option&gt;please select...&lt;/option&gt; &lt;option value="branding"&gt;branding&lt;/option&gt; &lt;option value="logo"&gt;logo&lt;/option&gt; &lt;option value="package"&gt;package&lt;/option&gt; &lt;option value="poster"&gt;poster&lt;/option&gt; &lt;option value="puclication"&gt;publication&lt;/option&gt; &lt;option value="website"&gt;website&lt;/option&gt; &lt;option value="other"&gt;other&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt; &lt;label for="budget" class="lable"&gt;budget&lt;/label&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;div class="selectBG"&gt; &lt;span&gt;please select...&lt;/span&gt; &lt;select name="budget" id="budget"&gt; &lt;option value="please select..." selected="selected"&gt;please select... &lt;/option&gt; &lt;option value="100-500"&gt;$100-$500&lt;/option&gt; &lt;option value="500-1,000"&gt;$500-$1,000&lt;/option&gt; &lt;option value="1,000-2,000"&gt;$1,000-$2,000&lt;/option&gt; &lt;option value="2,000-5,000"&gt;$2,000-$5,000&lt;/option&gt; &lt;option value="5,000-10,000"&gt;$5,000-$10,000&lt;/option&gt; &lt;option value="10,000+"&gt;$10,000+&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt; &lt;label for="timeframe" class="lable"&gt;timeframe&lt;/label&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;div class="selectBG"&gt; &lt;span&gt;please select...&lt;/span&gt; &lt;select name="timeframe" id="timeframe"&gt; &lt;option value="please select..." selected="selected"&gt;please select... &lt;/option&gt; &lt;option value="asap"&gt;asap&lt;/option&gt; &lt;option value="within 1 month"&gt;within 1 month&lt;/option&gt; &lt;option value="within 2 months"&gt;within 2 months&lt;/option&gt; &lt;option value="within 3 months"&gt;within 3 months&lt;/option&gt; &lt;option value="within 6 months"&gt;within 6 months&lt;/option&gt; &lt;option value="not sure"&gt;not sure&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt; &lt;label for="message" class="lable top"&gt;message&lt;span class="red"&gt;*&lt;/span&gt;&lt;/label&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;textarea name="message" id="message" cols="40" rows="5" class="textarea"&gt;what&amp;#39;s on your mind?&lt;/textarea&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="20%" align="left" valign="top"&gt;&lt;/td&gt; &lt;td align="left" valign="top"&gt; &lt;input type="reset" name="reset" id="reset" value="reset" class="btn" /&gt; &lt;input name="submit" type="submit" class="btn" id="submit" onclick="MM_validateForm('name','','R','e-mail','','RisEmail','message','','R');return document.MM_returnValue" value="submit" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/form&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.
 

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