In an application I am working I found a top level parent container with position: relative
like so:
<div style="position: relative">
<!--render body content here-->
</div>
Many HTML views are rendered in this parent container. Not single HTML has absolute positioning.
This is not my code, so I want to make sure that the inline CSS style="position: relative"
serves no purpose and can be deleted.
There isn't a point to a parent container have position:relative
if there is not descendants with position:absolute
or position:relative
, correct? As there is not any child container that has position defined at all, that I can find.