Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Firefox - When highlighting it doesn't show?

For some reason on FireFox, when highlighting any field on my website, it doesn't show the blue highlighting. It can copy it but won't show the blue highlighter when dragging your mouse along the text. Any ideas?
You can use the following CSS code to overwrite the highlight color
Code
::selection {
  background: #ffffff;
}
::-moz-selection {
  background: #ffffff;
}
However if you want to know why the current highlighting doesn't work, PM me your website and I'll take a look at the code.
FS Webdeveloper
(Jul 7, 2016 07:02 AM)SteezyHB Wrote:  You can use the following CSS code to overwrite the highlight color
Code
::selection {
  background: #ffffff;
}
::-moz-selection {
  background: #ffffff;
}
However if you want to know why the current highlighting doesn't work, PM me your website and I'll take a look at the code.

that does fix the problem. What is the default colour for firefox?


Update: Fixed the problem. An API style sheet changed the ::selection and ::-moz-selection.

I over-rid the style sheet on a new page. Works a treat.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by hostovFeb 2, 2018 06:12 PM 11 350 Feb 2, 2018 06:12 PM
Last Post: Rushax
by Tartarus.May 10, 2017 11:04 AM 2 142 May 10, 2017 11:04 AM
Last Post: Tartarus.
by speedcheckMay 23, 2016 01:04 PM 11 191 May 23, 2016 01:04 PM
Last Post: Ðr1ps