I am facing an issue on my html page with a specific div structure. The
<div id="container">/* lots of nested html with elements like div, ul, li etc */</div>
is causing some trouble in my global css file called style.css.
The style.css includes rules for various HTML elements like body, div, ul, li, h1, h2, p, and more by setting margin and padding to 0. However, I want to exclude the mentioned div from these globally applied styles and only apply them to the rest of the elements on the page.
How can I achieve this without affecting the styling of other elements?