Jump to content

Recommended Posts

Posted

So you know when you select some text and background is like blue? I want to know how can i change that color? For example i would like it to be red... :)

 

Do i need javascript or can it be done with css?

Posted

apparently its easy with FF and Safari, but not IE.

 

FF/Safar:

 

::-moz-selection{background:#6374AB;color:#fff;} 
::selection {background:#6374AB;color:#fff;}

Posted
Is there any work around to make this effect and to have valid css?:)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.