Other than some kind of JavaScript to set the width by reading the image properties, I can't see a way of doing that dynamically via CSS. You HAVE to have a width, or the text pushes out the float as big as it will go.
Eric On 6/1/05, Linda Dunn <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have a page posted here... > > http://www.seafoodlab.cmast.ncsu.edu/aboutus.html > > ...in which I am playing with the idea of making a div with class > "photobox" for photos (the black and white one on the left) which will > contain a photo caption. > > [snip] > -- Eric Ladner ______________________________________________________________________ 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/