Reply to Re: Trouble structuring my site

Your name:

Reply:


Posted by zacariaz on 09/23/07 22:11

On 23 Sep., 22:39, "julian.bash" <misterio...@googlemail.com> wrote:
> On Sep 23, 10:13 pm, zacar...@gmail.com wrote:
>
> > ok, so youre saying that:
>
> > <body style="height:100%">
> > <div style="height:xpx">top</div>
> > <div style="height:100%">middle</div>
> > <div style="height:xpx">bottom</div>
> > </body>
>
> > is just not possible?
>
> You should use absolute positioning, like this:
>
> div { position:absolute; width:100%; }
> #top { height:100px; }
> #middle { height:100%; margin-top:100px; margin-bottom:100px; }
> #bottom { height:100px; bottom:0; }
> // Make it work in ie (bottom:0 doesn't work, javascript needed)
> #bottom { margin-top: expression(document.body.clientHeight-100); }
>
> Read more about absolute positioning here: <http://www.alistapart.com/
> articles/conflictingabsolutepositions>
>
> --Julian

This approach doesnt seem to work neither in IE or MZ with or without
doctype.

[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

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