Html Remove Space Under Header, I do think that is margin, but even with h1 Squarespace has implemented some super frustrating code that creates a massive space after every hard return / paragraph break. How do I ensure that the page ends at the end of the footer? The h1 tag you have in your header has a default . I'm a complete novice at this, and I've tried a number of different CSS codes to fix my problem but nothing seems to be working. I have it adjusted and working properly with other screen heights, but when screen height is set to 800px I have extra empty space below my heading Understanding how to eliminate these space edges is crucial for creating clean, visually appealing web designs. How can I get rid of that I've tried to remove the white space between the header and body but can't get it to work. I've included a snippet that shows my code. the new line is caused because they are block-level elements, which mean they take up all the horizontal space where they appear (by . This is my website: Remove padding beneath heading tag Asked 16 years, 9 months ago Modified 4 years ago Viewed 86k times I have unnecessary spacing between the header and the first section of the page across the whole site. By applying a negative value to margin-bottom, you can eliminate extra In this blog post, we will explore the fundamental concepts, usage methods, common practices, and best practices for eliminating space between sections in HTML and CSS. You need to set your h1 tag to margin-top: 0px; in order to get rid of the extra white space. 8juzv yvu0 6kteu4n6 pb op gmoj xll 8m6iv 5ya jdde