Click here to Skip to main content
12,293,917 members (66,497 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: CSS HTML PHP
selection word color change in css in ie8,

::selection { background:#0F0;}
::-moz-selection { background:#0F0;}
::-webkit-selection { background:#0F0;}

This is working on IE9 but not working on IE8.......
Posted 8-Aug-12 22:08pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

According to http://www.w3schools.com/cssref/sel_selection.asp[^], IE8 does not support ::selection

Not much we can do about it.

Peter
  Permalink  
Comments
@amitgajjar 9-Aug-12 4:23am
   
correct 5 +

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 9 Aug 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100