title: How to place validator control message text just right to the control in asp.net
body: <p>I have following HTML structure :</p>
  
  <pre><code>&lt;asp:TextBox ID="txtFrom" class="textBox js-min" runat="server" /&gt;        
          &lt;asp:RequiredFieldValidator ID="strtDtValidator" ControlToValidate="txtFrom" runat="server" ErrorMessage="Please enter a date." Text="*" Display="Dynamic" CssClass="required" EnableClientScript="true"&gt;&lt;/asp:RequiredFieldValidator&gt;          
          &lt;span class="label" id=""&gt;&amp;nbsp;&amp;nbsp;End:&lt;/span&gt;
          &lt;asp:TextBox ID="txtTo" class="textBox" runat="server" /&gt;        
          &lt;asp:RequiredFieldValidator ID="endDtValidator" ControlToValidate="txtTo" runat="server" ErrorMessage="Please enter a date." Text="*" Display="Dynamic" CssClass="required" EnableClientScript="true"&gt;&lt;/asp:RequiredFieldValidator&gt; 
  </code></pre>
  
  <p>It is displaying star both "*" symbol after the last textbox. How to place them correctly?</p>