Vic
06-10-2005, 01:02 AM
I need to create a layer that occupies a full size of the available frame, but for a 20px gap on top. How do I do this?
I tried {WIDTH: 100%; HEIGHT: 100%; MARGIN-TOP: 20px}, but this produces immediate scrollbars as total height = 100% + 20px which is > 100%.
I couldn't use {TOP: 20px}, because then my height is not calculable (it would have to be "100%-20px" which won't do)
Thanks in advance for any help
I tried {WIDTH: 100%; HEIGHT: 100%; MARGIN-TOP: 20px}, but this produces immediate scrollbars as total height = 100% + 20px which is > 100%.
I couldn't use {TOP: 20px}, because then my height is not calculable (it would have to be "100%-20px" which won't do)
Thanks in advance for any help