开发者

Getting your nested div to behave like table cell

I know about display: table/table-row/table-cell styles. What if I want to apply table-cell style to deeper element in DOM structure and get the same effect. Please, look at r2c1 cell. As you see it has other width then other cells in this column. http://jsfiddle.net/forus/G6daP/3/ Is it possible to get autoresizing for this cell a开发者_StackOverflow社区s well?


I tried with this approach.

I don't know if you need the table display properties for that particular element, since you talked only about anto resizing.

If that's what you are looking for, I think this could be a solution.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜