"Barbara de Zoete" <b_de_zoete@hotmail.com> writes:
[color=blue]
> On Tue, 06 Sep 2005 16:19:20 +0100, Toby White <tow21@cam.ac.uk> wrote:
>[color=green]
>> I have a page in two, separately scrolling, columns.
>>[/color]
>
> URL?[/color]
Sorry -
http://www.uszla.me.uk/siesta/h2o_test.xhtml (there's a bunch
of other broken stuff on the page at the moment, but it
illustrates what I'm trying to do.)
[color=blue][color=green]
>> So I was wondering if there was any way in css to style an
>> element such that there is effectively "enough whitespace
>> at the end of this element to fill the height of this div".
>> ie, so if I scroll the div all the way to the bottom, then
>> the end of the text in that div will just be scrolling off
>> the top.
>>[/color]
>
> body: height:100%;
> containing div with definitions: padding-bottom:100%;
>
> not tested[/color]
Ah. Thanks, that's what I was looking for. Bizarrely, though,
if I put that in the left hand column, it works correctly; if
I put it in the right hand column, I need to increase the
padding-bottom to 300% to make it work correctly.
If anyone can tell my why, I'd be interested, but since I've
now got it working, I'm not too worried.
Toby
--
Dr. Toby White
Dept. of Earth Sciences, Downing Street, Cambridge CB2 3EQ. UK
Email: <tow21@cam.ac.uk>