My Journal

Category : CSS

Position:relative leaves an empty space

So you want to make your element overlap the first element and don't  want to use float. Like the image below I have a parent div and a child div. I want the child to have an overlay effect on my parent div. So I use: #childDiv{ position relative; } Then this happen ...

Continue reading