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...
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/