There's a div in my page that gets styling from my company's custom CSS files. Some of this styling messes up how my div is displayed/positioned. I tracked it down to being a display: inline-block;
.
Using Chrome developer tool's elements tab, when I deselect this specific line, my element displays properly:
So I figured I'd override the property to display's default value display: inline !important;
to simulate "removing" the property. The property was overriden, but my element was still misaligned.
I also tried using jQuery after the element was loaded: $('#myelement').css('display', 'X');
where X is any acceptable value for the display property. I also tried an empty space. None provided the results that unchecking (removing?) the property in the Chrome developer tools did.
So what options do I have left to simulate unchecking the style property in Chrome dev tool's element tab? I assume the closest thing would be to somehow remove the property from my element, but I'm not sure how to do this, as this property is defined in an external CSS file which I'm not allowed to modify.