Style highlighted / selected text - CSS Tutorial
Ever wondered how to change the default style of highlighted or selected text in your html page? I have found that this is possible using CSS3, although IE has no support for this so it doesn't work at all in IE.
In this example the background is set to green and the text set to white. Drag over this text to highlight it.
Here's the CSS:
/* Safari */ ::selection { background: #000000; color: #ffffff; } /* Firefox */ ::-moz-selection { background: #000000; color: #ffffff; }
::selection is supported by the latest versions of Opera and Firefox 2 and upwards. ::-moz-selection is supported by the latest versions of Safari.






Works great - thank you!
[...] Version: 0.1 - License: n/a - Author: Sam Burge - Plugin Page - » Download [...]
Is there a newer version than 0.1? I upgraded to WordPress 2.6.1 and the Plugins area is telling me that there is a new version, but the new version links to:
GALLERY LIGHTBOX PLUGIN
http://wordpress.org/extend/plugins/wp-25-gallery-lightbox-plugin/
Also, just an FYI, version 0.1 now conflicts with the Subscribe2 plugin.
Very handy little plug-in, works like a charm, thanks.
I’m experiencing a little weirdness, though. I downloaded it from your site. When I install it, it works fine but I get an alert telling me there’s a new version 1.3 (the code says “Version 0.1″) and the link to get the new version points at http://wordpress.org/extend/plugins/wp-25-gallery-lightbox-plugin/ which is clearly wrong. The “Upgrade automatically” option doesn’t work either, with the error mentioning wp-25-gallery.
Since it works, the only reason I care is I don’t want the little orange flag over “Plugins” in my dashboard, but seems like something you’d want to know.
wordpress 2.5
not working for me, i made the two changes , name and email to the php file, verified the changes were saved in the php file, but it continues to send wordpress and wordpress@domain
????