How to remove border in div-css
Without testing it myself, this is how I would change the boundaries there as others say ...
border: none !important;
And without you wanting to try and override something, I would get rid of !important
.
Another thing I would like to do is try to point out background-color
.
background-color: #FFFFFF;
And if you have too many element and don't mind the attribute style
in your tag, you can do so, which should override any CSS rules that go against it ...
<div class="..." style="border:none; background-color:white"></div>
There could be a gray background somehow and another element inside a div that has a background color of white. With padding, this could result in some space above the inner white div
, and the parent div
(the one you are trying to fix) could somehow get gray from something.
source to share