开发者

Div with 50% height inside a td without javascript

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜