@fico444
Posted
Hi, good solution. I think I know where the problem is. The height of the main is set to 100px, so there is no space to add margin or padding. This also causes its content to overflow. You could fix it by changing 600px to 100% or giving it more height in px. I hope I have helped you. š
@Prakash1411
Posted
Hello, Thanks for your inputs. Unfortunately, changing the height to 100% also doesn't work. It actually makes the main container to use up all height available in the page, and not having any space on top or bottom.