I have a requirement to make the height of a sidebar grow relative to the height of the main window. I currently have a sidebar that is sized to its content, but the main window is always much longer. Is it possible to (a) determine the height of the main windows (ID="leftside") and (b) make the height of the sidebar (ID="rightside") = leftside.height - 10 ?
@JorgeM: The reference you provided worked beautifully. Thank you.
@designershiv: I didn't understand your code -- Is "right" and "left" supposed to be changed to the IDs of the left & right DIVs? (I'm also not a fan of 2-letter variable names -- They only make sense to the writer, and even then, not for long.) I do appreciate your taking time to respond, though. Thank you.
the code i posted is just a sample one, you have to change the values and variable based on your likes and requirement. you asking question here am answering. If it not matching look for some other solution no need to give down vote.this attitude will effect other newbie poster