You are here: Re: CSS Position Layer relative to bottom of another layer. « HTML « IT news, forums, messages
Re: CSS Position Layer relative to bottom of another layer.

Posted by Toby Inkster on 12/31/12 11:37

Gérard Talbot wrote:

> <head>
> (...)
> <style type="text/css">
> div#Container, div#NestedDiv {position: absolute;}
> div#NestedDiv {bottom: 58px;}
> </style>
> (...)
> </head>
> <body>
> (...)
>
> <div id="Container">Here is some text. Must be at least 59px in height.
> <div id="NestedDiv">This text is exactly 58px from the bottom of its
> containing block.</div>
> </div>

But here, the *bottom* of the nested div is 58px *above* the bottom of the
container, which doesn't sound like what the OP wanted at all.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this 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

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