Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Change DefaultText Selection Color with CSS | CSS Change Text Highlight Color

Apr 1, 2013 2 comments
Introduction

Here I will show how to change default text selection color with CSS in website or change text highlight color using CSS in website.

Description:
  
In previous articles I explained
jQuery Change background color of div, jQuery fadein fadeout effect, jQuery get current page url and title, jQuery create rounded corners for textbox and many articles relating to JavaScript, jQuery, CSS, asp.net. Now I will explain how to change text selection color using CSS in website.

To change text selection color using CSS we need to write the CSS classes like as shown below

Other Related Posts

© 2010-2012 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.