开发者

Div larger than table cell

I am trying to have a div sit in a table cell. The div is larger than the table cell and I want the table cell not to resize, but to stay the same size as the div floats over the table. How can I manipul开发者_Python百科ate CSS and elements to do this?


Give your td the css position: relative;

Give your div the css position: absolute; top: 0px; left: 0px;

Here's a link to an example: http://jsfiddle.net/XLSXz/1/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜