Search code examples
csscss-selectorsdisplayinline-styles

how to overwrite `display: none` for checkbox?


Currently at this web page there is a table

It looks like the default template of the web got in CSS

input[type="checkbox"], input[type="radio"] {
    display: none;
}

Now the checkboxes are not visible - see enter image description here

But if I uncheck the display: none then the checkboxes are visible.

Is there any way I can make them visible in html using style when creating the checkbox? I do not have the permission to edit css. I can add custom css though.


Solution

  • Most likely these should be inline-blocks when visible (i.e. not taking the whole width of their parent), so you can add the attribute style="display: inline-block" to those HTML tags.