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.Place icon inside HTML input element using CSS<p>Hi <a class="username" rel="Sowmia">Sowmia</a>,</p> <p>Check this example. Now please take its reference and correct your code.</p> <div class="demo_block"> <pre class="brush: html">&lt;style type=&#34;text/css&#34;&gt; td { position: relative; } input { padding-right: 30px; } span { position: absolute; right: 5px; } &lt;/style&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt; &lt;input type=&#34;text&#34; id=&#34;txtUserName&#34; /&gt;&lt;span&gt;@&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;input type=&#34;text&#34; id=&#34;txtPercentage&#34; /&gt;&lt;span&gt;%&lt;/span&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/130946/Place-icon-inside-HTML-input-element-using-CSS/https://www.aspforums.net:443/Threads/130946/Place-icon-inside-HTML-input-element-using-CSS/Fri, 28 Sep 2018 05:23:09 GMT