I don’t know what you expect will happen, but a bottom margin on an absolutely positioned element isn’t likely to have much noticeable effect.
Absolutely positioned boxes are removed from the document flow and do not affect subsequent elements. The margin will simply overlap other content, invisibly.
So what I have is a a content div which scrolls - but it needs an 80px gap between itself and the bottom of the browser - at the moment it just stops flush to the bottom. The gap needs to be transparent so the background shows
I tried a wrap around the above mentioned div, but that had the same problem.
height: auto; is assumed, so you don’t need it. Margin and Padding both have shorthand properties - margin is set as top right bottom left, padding is set as top left & right bottom. Color can be short hand if the numbers/letters are the same (#999999 becomes #999, #ee6600 becomes #e60, etc).
Reading back through these posts, I suspect that there is nothing after this div than the closing body tag.In this case the bottom margin on the div will collapse through the bottom of the body. Rather than trying to provide bottom spacing with bottom margin on the div, use bottom padding on the body (or whatever container surrounds the #contentscroll div).