开发者

How do I work around a container div needed to expand in IE without setting a width to it?

I need the container to expand based upon the information input in it, but in IE it automatically expands to 100% because there is no width set on the containe开发者_Go百科r, but setting a width on the container would limit the information allowed inside and shift the containing information. The container is absolutely positioned and the divs inside are floating.


<div style="clear: both;"></div>

Put this inside of your container and see if that helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜