IE7 handles "min-width" just fine. You can also use a hack or conditional stylesheet to feed IE6 it's "width" style.

Joseph R. B. Taylor
/Designer / Developer/
--------------------------------------
Sites by Joe, LLC
/"Clean, Simple and Elegant Web Design"/
Phone: (609) 335-3076
Web: http://sitesbyjoe.com
Email: j...@sitesbyjoe.com


On 6/27/09 1:32 AM, David Hucklesby wrote:
Stevio wrote:
Is it possible to expand a container's width to fit its content?


Well, IE 6 treats "width" as "min-width" and likely does what you want. Non-IE browsers behave similarly if you add a "display: table;" declaration.

Don't know how to deal with IE 7 though... :(

Cordially,
David
--



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to