(Joseph's reply moved to the bottom)
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;
Is it possible to expand a container's width to fit its content?
For example, if I have a page where the content is wider than the
width available at the browser's current size, which means the
horizontal scrollbar appear, I want the container to expand to fit
the width of the content
Is it possible to expand a container's width to fit its content?
For example, if I have a page where the content is wider than the width
available at the browser's current size, which means the horizontal
scrollbar appear, I want the container to expand to fit the width of the
content instead
At 6/26/2009 12:58 PM, Stevio wrote:
Is it possible to expand a container's width to fit its content?
For example, if I have a page where the content is wider than the
width available at the browser's current size, which means the
horizontal scrollbar appear, I want the container to expand to
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
--