Reply to Re: css positioning question

Your name:

Reply:


Posted by Els on 11/17/06 12:59

Knut Krueger wrote:

> Hi to all,
> I have a problem at this page:
> http://uni-regensburg.equine-behaviour.de/index.php?cooperation.php
>
> There is a big empty space after
> *Kooperationen mit* and the rest of the page
> maybe anybody could give me a hint to prevent this space

[snip]

> allign:top;}

"allign" is spelled wrong: align has only one 'l'.
Also it's not a valid property, you probably meant 'vertical-align'.

> float: middle;

float:middle; ?? where did you find that one?

In your other stylesheet, you have PHP, but the stylesheet is not
parsed as PHP, so it results in invalid stylesheet content.

http://jigsaw.w3.org/css-validator/ may help with the discovery of
mistakes like that.

Now, your empty space:

> .maxplank {
> vertical-align:top;
> display: block;
> float: left;
> clear: left;

There is your culprit. You cleared the left-floated sidebar, meaning
that div.maxplank will stay below the bottom of div#sidebar.

(this also goes for div.wien and div.nuernberg, but they are already
below sidebar level, so you don't notice)

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: AC/DC - Thunderstruck

[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

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