My CSS layout is experiencing issues when filled with content.
If I remove the 'p' tag from the HTML (inside a section with class "philosophy"), my layout works well - side margins appear as intended. However, when the 'p' tag is reinserted, the side margins either get smaller or disappear completely from the screen. How can this problem be prevented?
What steps can be taken to fix this issue?
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
font-size: 18px;
}
/* code for wrapper and other sections */
<div class="BG_gradient">
<div class="wrapper">
<!--Code for different sections in the layout-->
</div>
</div>