开发者

Width: Auto Taking the First Element's Width

Have a div and 开发者_StackOverflowthere's a small link div inside that's 630 pixels wide and other little larger table inside that's 697 (According to the Firebug Layout inspector).

The containing div has width: auto and the layout inspector tells me that it's getting 630 for it's width. Why is this happening? Why isn't it picking the larger of the two values?


Are you using position: relative; on all the corresponding divs?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜