Reply to Re: CSS: why all this empty space

Your name:

Reply:


Posted by Harlan Messinger on 09/30/06 12:44

Gael wrote:
> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация