Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- CSS: why all this empty space
September 30, 2006, 9:56 am
rate this thread
I'm trying to design a website using CSS. It goes fine except that I
get extra empty space at the bottom of my page and a useless scrollbar
on the right. It seems to me that this blank space is due to my using
improperly <div> CSS element. But I can't manage to avoid this blank
Here's the HTML page:
The CSS used:
Any help greatly appreciated!
- Harlan Messinger
September 30, 2006, 12:44 pm
Re: CSS: why all this empty space
The DIV is relatively positioned with top=-450px. Relatively positioned
boxes are treated initially as though they had their default static
positioning, and are shifted *after* the entire page has been laid out.
The shift doesn't alter the layout of the remainder of the page. In
other words, the bottom is where it would have been if you hadn't used