Thursday, November 3, 2005, 2:06:45 AM, Jason Benefield wrote: > 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
This is generally called "shrink wrapping". These examples should give you a few ideas: http://www.brunildo.org/test/index.html#cen General solution is to use display:table in CSS2 browsers and display:inline-block in IEs. Steve -- http://mrclay.org/ : http://thefrenchhorns.com/ ______________________________________________________________________ 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/
