How do I put a fixed empty space under an absolute positioned div? I have a div that automatically fits the size of its content. Padding doesnt work as the div has a white background so the div would simply become visibly bigger. Margin-bottom doesnt work as it is position absolute.
Is there a way to do this? Or is there a way to get the size of the whole site (NOT the viewport) so I can position an empty div at the bottom of the site?
This white box is the div. This is the result I want, where there always is a fixed space underneath the div.
When I use padding-bottom - not working which I understand
1.4m articles
1.4m replys
5 comments
57.0k users