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.HighLight DIV element on TAB Key Press (Focus) using CSSHi @kavithav,<br />Please try the following<br /><br /><a href = 'link(Threads/599694/Make-DIV-position-fixed-when-scroll-using-CSS/)'>Make DIV position fixed when scroll using CSS</a><br /><br />It might help you.<br /><br />Cheers Andrea.https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/Mon, 15 Oct 2018 04:57:37 GMTHighLight DIV element on TAB Key Press (Focus) using CSS<p>my question is different and the answer which you are suggesting is different</p>https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/Mon, 15 Oct 2018 04:59:30 GMTHighLight DIV element on TAB Key Press (Focus) using CSS<p>Please share the Toggle function and the complete html.</p>https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/Mon, 15 Oct 2018 05:04:56 GMTHighLight DIV element on TAB Key Press (Focus) using CSS<p>&nbsp;Tabbing working for input type of html</p> <pre class="brush: html">&lt;input type=&#34;button&#34; value=&#34;Add1&#34; id=&#34;btnAdd1&#34; onclick=&#34;Add1();&#34; style=&#34;width: 120px;&#34; class=&#34;newAddNew Tab&#34; /&gt; &lt;input type=&#34;button&#34; value=&#34;Add2&#34; id=&#34;btnAdd2&#34; onclick=&#34;Add2();&#34; style=&#34;width: 120px;&#34; class=&#34;newAddNew Tab&#34; /&gt;</pre> <p>&nbsp;</p> <pre class="brush: css">.Tab:focus{ outline: none; box-shadow: 0px 0px 5px 2px #61C5FA !important; }</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/Mon, 15 Oct 2018 05:11:28 GMTHighLight DIV element on TAB Key Press (Focus) using CSS<p>Hi <a class="username" rel="kavithav"> kavithav</a>,</p> <p>In order to highlight the element in div on tab assign tabindex attribute and set to 0.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <div class="demo_block"> <pre class="brush: html">&lt;select name=&#34;ctl02&#34; class=&#34;newAddNew Tab&#34;&gt; &lt;option value=&#34;text1&#34;&gt;text1&lt;/option&gt; &lt;option value=&#34;text2&#34;&gt;text2&lt;/option&gt; &lt;/select&gt; &lt;br /&gt; &lt;br /&gt; &lt;div id=&#34;Col&#34; class=&#34;newAddNew Tab&#34; tabindex=&#34;0&#34;&gt; &lt;input name=&#34;TextBox1&#34; type=&#34;text&#34; id=&#34;TextBox1&#34; class=&#34;newAddNew Tab&#34; /&gt; Highlight me in border&lt;/div&gt; &lt;br /&gt; &lt;br /&gt; &lt;input type=&#34;button&#34; value=&#34;Add1&#34; id=&#34;btnAdd1&#34; style=&#34;width: 120px;&#34; class=&#34;newAddNew Tab&#34; /&gt; &lt;input type=&#34;button&#34; value=&#34;Add2&#34; id=&#34;btnAdd2&#34; style=&#34;width: 120px;&#34; class=&#34;newAddNew Tab&#34; /&gt; &lt;style type=&#34;text/css&#34;&gt; .Tab:focus { outline: none; box-shadow: 0px 0px 5px 2px #61C5FA !important; } &lt;/style&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/https://www.aspforums.net:443/Threads/184470/HighLight-DIV-element-on-TAB-Key-Press-Focus-using-CSS/Mon, 15 Oct 2018 06:18:12 GMT