ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Set the asterik (star) mark on the top right of TextBox in ASP.Net<p>Hi <a class="username" rel="kavithav"> kavithav</a>,</p> <p>Place the span in another div and add <span style="text-decoration: underline;">float: left</span> to the selectval div.</p> <p>Check the below example.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <div class="demo_block"> <pre class="brush: html">&lt;table&gt; &lt;tr&gt; &lt;td align=&#34;left&#34; id=&#34;selectmsg&#34;&gt; &lt;div id=&#39;selectval&#39; class=&#39;insideSelect newSelect&#39; style=&#34;float: left; font-weight: normal; width: 263px !important;&#34;&gt; &lt;input type=&#34;text&#34; style=&#34;width: 250px;&#34; /&gt; &lt;/div&gt; &lt;div style=&#34;float: left;margin:auto; display:table;&#34;&gt; &lt;span class=&#34;requiredfields&#34; style=&#34;display: inline-flex !important;&#34;&gt;*&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/146294/Set-the-asterik-star-mark-on-the-top-right-of-TextBox-in-ASPNet/https://www.aspforums.net:443/Threads/146294/Set-the-asterik-star-mark-on-the-top-right-of-TextBox-in-ASPNet/Wed, 12 Sep 2018 01:01:45 GMT