开发者

Div with 50% height inside a td without javascript

开发者 https://www.devze.com 2023-02-04 20:06 出处:网络
Is it possible to set div height to 50% of a cell? For example: http://jsfiddle.net/hyNWy/152/ (updated)

Is it possible to set div height to 50% of a cell?

For example: http://jsfiddle.net/hyNWy/152/ (updated)

Of course, that doesn't work, but maybe there is a way to set that height开发者_JAVA百科 for the div?


50% will work if the height of the containing cell is defined with a absolute value, eg: http://jsfiddle.net/xE6v7/

0

精彩评论

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