开发者

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

开发者 https://www.devze.com 2023-03-20 05:19 出处:网络
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 th

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

精彩评论

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