Page 1 of 1

Chrome loses checkbox from CSS update

Posted: Wed Jan 06, 2016 5:24 am
by simonmlewis
Hi

I have added a CSS that enables a slider thing to work. I think it overrides some input fields.
Trouble is on, on Chrome, it completely makes the checkboxes disappear. And even if I set checkbox to be 1px solid #000000, all I get is a dot.

How do I force the browsers to show the checkboxes, specifically in Chrome?

Re: Chrome loses checkbox from CSS update

Posted: Wed Jan 06, 2016 6:24 am
by Celauran
Sounds like a specificity issue. Right click, inspect element, see which styles are being applied and you'll find which is overriding your styling.

Re: Chrome loses checkbox from CSS update

Posted: Wed Jan 06, 2016 10:24 am
by simonmlewis
I found it - the blasted code I use to stop SAfari turning buttons into circles, was killing that checkbox too. If I add the code just to that submit button, the checkbox comes back.