开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜