1

I bought a bootstrap template, the style sheet file, has this code:

input[type=checkbox],
input[type=radio] {
  opacity: 0;
  position: absolute;
  left: -9999px;
  z-index: 12;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

I have a html table that has a cell with a checkbox, that is not showing up, with chrome inspector, I modified turn off the styling properties,

My question Is there any way that I could tell my code not to apply that style in the checkbox that is inside the table cell??

thanks Alberto

1
  • Can you post your html code for the table and the checkbox? Commented Jul 29, 2015 at 2:15

2 Answers 2

2

yes, specifically call that check box add a class to the checkbox something like this <input type="checkbox" class="unique-class"/> then in your css add the style to just that checkbox with something like this

input.unique-class[type=checkbox],
input.unique-class[type=radio] {
/*stuff here*/
}
Sign up to request clarification or add additional context in comments.

Comments

-1
  input[type="radio"], input[type="checkbox"] {
    /*stuff here*/
    cursor:pointer;
  } 

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.