Sent by matt andrews on 7 February 2005 05:05
On Sun, 6 Feb 2005 22:24:57 -0500, Dave Merrill [EMAIL-REMOVED]> wrote:
> Hi folks, first post, please excuse if this should be obvious...
>
> I have some content inside a colored and bordered div. I'd like the div to
> auto-size its width to accommodate the content. "display: table" works for
> current versions of Opera and Firefox, but not IE (all on windows; all I've
> tested so far).
>
> I can set the width explicitly, but that doesn't accommodate variations in
> rendered font size, or the user changing text size manually.
>
> What other choices do I have?
if it's just font size variation you're concerned about, you could set
the width of the div in em units...
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/