> I need the DIV to expand to the ends of the image width, but I do not > want the text below the image to extend past the edges of the image > (sort of like a newspaper inset).
Are you able to get the width of the image dynamically? I have used PHP to do exactly what you want: Dynamically grabbing the width of the incoming image and applying that width to the containing div... worked pretty good for a gallery script... Not sure if this will help (probably not) but I thought this was a cool way to align text with image using DT: http://www.maxdesign.com.au/presentation/definition/dl-image-gallery.htm m -- BCC for Privacy! http://www.cs.rutgers.edu/~watrous/bcc-for-privacy.html ---------------------------------- My del.icio.us: http://del.icio.us/mhulse ______________________________________________________________________ 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/
