how to allow div width to expand to accomodate contents -
07-06-2004
, 03:01 PM
OK, I'm stumped on what should be an easy one.
I have a div containing a table. The table's contents are wider than the
specified width of the div. IE6 expands the div to accomodate whatever
the contents of the table are.
Mozilla, Opera 7, FF, Safari end the div right where the width rule says
it should end.
I assume IE is getting it wrong, but it is producing the result I want!
How can I get that div to expand to the width of the table's
contents?(whatever they might be?).
http://test.hinshawdesign.com/css/div_expand.html
Thanks so much.
Don |