Posted by Toby Inkster on 11/05/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]
|