html – How to set the height of the body to avoid white spaces

I was having problems whit this for a while, and I know that some other people were too

image problem

As you can see in the image, there is an excessive white empty space in the bottom of the page, it’s because there was a component just there, but it was moved up with “position: relative;” and of course, the element moved up but it’s still taking its original space at the bottom

I was trying to define the height of the body, as well as to center the components and set a margin:auto; but it doesnt work

Any idea?? THANKS!

Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here