How to Adjust Height of Column Dependent on Height of Another Element?
I have a sort of spacer column on the left and I actually want it to be the same height as the length of the text on that page, which obviously varies greatly from page to page.
This is the CSS:
#sidebox {
width:200px;
height:2000px;
float:le开发者_如何学Pythonft;
padding: 5px;
background:#f4f4f4;
border:0;
margin:0 10px 0 0;
}
Is this possible and if so, how can it be done?
精彩评论