Category - CSS
Results 1 - 5 of 12
22 Nov 2019 22 Nov 2019 0 Comments  753 Views
Here Mudassar Ahmed Khan has explained with an example, how to highlight Selected Row of WebGrid in ASP.Net MVC Razor.

The WebGrid Row will be attached with a jQuery Click event handler. When the WebGrid Row is clicked and selected, it will be highlighted by applying a CSS class in ASP.Net MVC Razor.
24 Jan 2018 24 Jan 2018 0 Comments  4165 Views
Here Mudassar Ahmed Khan has explained with an example, how to highlight row of WebGrid on MouseOver (Mouse Hover) using CSS in ASP.Net MVC Razor.
28 Jul 2017 28 Jul 2017 0 Comments  9992 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide (remove) Placeholder in HTML5 TextBox on focus using CSS, JavaScript and jQuery.

The HTML5 Placeholder attribute does hide (gets removed) on focus in Internet Explorer (IE) by default but it does not hide (gets removed) on focus in FireFox and Chrome and hence this article will explain how to hide (remove) Placeholder in HTML5 TextBox using CSS, JavaScript and jQuery.
21 Aug 2013 21 Aug 2013 1 Comments  69201 Views
Here Mudassar Ahmed Khan has explained, how to change TextBox Background color on Focus CSS and without any JavaScript or jQuery i.e. Highlight TextBox on focus using CSS and without any JavaScript or jQuery and set it back to default on blur
18 Aug 2013 18 Aug 2013 4 Comments  27812 Views
ASP.Net  CSS  HTML
Here Mudassar Ahmed Khan has explained, how to change the background color style of TextBox on focus i.e. Highlight TextBox on focus and set it back to default on blur

There is absolutely no need of using jQuery, JavaScript or ASP.Net scripts for this purpose as the solution provided explains how to use pure CSS styles to change the background color style of TextBox on focus.

Since CSS is involved we can easily Highlight TextBox by change its Border style or color too instead of changing the Background color style.

Advantage of using CSS is that it will work for all technologies i.e. ASP.Net, HTML, PHP, JSP, etc. without writing a single line of jQuery or JavaScript and also is cross browser compatible.
Results 1 - 5 of 12