...

View Full Version : selecting html text with white/transparent selection



sybil6
04-12-2009, 03:06 PM
hello
by default when you select text in a html page the selection is dark blue, how can i make so it is white or transparent?

Apostropartheid
04-12-2009, 04:53 PM
You can't; it's part of the OS.
...Why would you want to do this?

sybil6
04-12-2009, 05:09 PM
i need this for a certain div not the entire document, it is implemented here(the background does not change but the letter itself):
http://ejohn.org/blog/jquery-13-aftermath/

im sure this is a css tweak, but dont know it.

Apostropartheid
04-12-2009, 05:49 PM
The user agent will select a white color as the selection background to make it more visible if the background of the page is too dark/blue/whatever, at least in IE. Chrome doesn't do it, so I assume it's browser-specific.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum