question about sizes and box model
If I set an element to have a margine and padding of 0 and no border, and then set the height of that element to 100%, should that not cover the page top to bottom?
Now this is true if I set its position to absolute, but that is not possible as I have a sidebar. However when set to relative, with a top position of 0, there is white space on the top and bottom of my block element. I don't understand why there should be a difference, as the only element in the flow before the block is a sidebar that is sharing the horizontal space with the block.
I can move the block up, but then the white space on the bottom grows.