I need to hide a hidden element completely. If you have used Firefox Web Developer add-on you have seen with a click that you can see all the hidden elements and their value
So I tried to apply
visibility: none;
display: none;
It did not worked as expected. So I thought about creating a layer with exact same size of the hidden element, giving it z-index:999 and making their position same, so even if the Web Developer add-on tries to show them they will just see the div.
visibility: noneanddisplay: noneare actually being applied, and not overridden?