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/
精彩评论