Sent by Cristian Necochea on 18 September 2002 22:10
Jack said:
> The problem I can't solve is how to have the
> right content pane maintain a consistent height
> with the left content pane as a user shrinks/enlarges
> the browser window. I'd appreciate any pointers you
> gurus can provide.
Jack,
if you're only concerned with IE5+, you might want to look into using dynamic expressions with CSS.
a cross-browser alternative is add IDs to the DIVs you need to synchronize and tie them to
JavaScript that is triggered on Window.resize and window.onload to set the DIV sizes.
an example of dynamic expressions:
<div style="background-color: yellow; height: expression(document.body.clientHeight/2);">
will be 50% of the viewport in IE5+
</div>
not sure if it's advisable to do this in a linked stylesheet, but i've had good results in IE5.01+.
-cris