I'm programming a lay-out with css. The lay-out contains a contentbox which has position: absolute. When I put lots of text into the contentbox, the box reaches the edge of the page. How can I add space at the bottom of the box so that there is a space between the bottom of the page and the contentbox? I tried margin-bottom: 40px but it didn't work for me.
position: absolute elements are taken out of the flow. This means it is basically independent to other elements except for the parent with position: relative. That is if you use margin on an position: absolute element it is in relation to the parent.