Hi there I'm trying to use a combination of display: table and width: 0% to force a div to expand to the width of its contents so I don't have to specify a width by hand. The div contains images and text, each in their own div, and the images are wider than the text. I want to expand the text div to be as wide as the image div.
Have a look in IE (6 tested here) and FF at the following URL. FF does what I want. http://mir.stevecole.org/~mark/files/test/ IE's making div#text as narrow (possibly to be expected) as possible wouldn't be a problem if I could work out how to force it to align right. Any suggestions? While we're at it, are there any other code cleanups I could use here? The white-space: pre malarky on div#photo is to avoid FF rendering a space if I use a <br /> to break the two lines of images. Lastly, how disasterous does it look in Safari? I don't have a Mac at the moment. Thanks in advance! -- Mark Drayton [EMAIL PROTECTED] ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/