I'm trying to nest divs so that the div on the inside is a fixed amount smaller than the surrounding div on all sides. What I'm working towards is having the inside div 1-2 pixels smaller on all sides than the one on the outside and nesting several divs to make a glow effect. I can't figure out how to do this, I'm using CSS obviously, and I've tried using margin but it doesn't work.
Thanks
Pad the parent div tags the 1-2 pixels you need? Then just have the nested tags stretch as far as possible.
Thanks, that's it -- but I have one more question I discovered.
What about making a nested div wider than its parent by a specified amount? width: 110% doesn't work, it sets it to 100% of the window even though position is set to relative. I also tried messing with top, left, right, and bottom to no avail.
Try negative margins.