CSS: why all this empty space

G

Gael

Hi,
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
space...
Here's the HTML page:
http://www.le-groupe-krivitch.org/Le-Groupe-Krivitch/index.php
The CSS used:
http://www.le-groupe-krivitch.org/Le-Groupe-Krivitch/css/krivitch6.css

Any help greatly appreciated!
Br
Gaël
 
H

Harlan Messinger

Gael said:
Hi,
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
space...
Here's the HTML page:
http://www.le-groupe-krivitch.org/Le-Groupe-Krivitch/index.php
The CSS used:
http://www.le-groupe-krivitch.org/Le-Groupe-Krivitch/css/krivitch6.css

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
position: relative.

http://www.w3.org/TR/CSS21/visuren.html#relative-positioning
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top