Added by RyanTyler1 over 4 years ago
seems like this should be easy, but i haven't figured out how to do it yet :/
so i have a bunch of divs, each of which contains an img. i want each div to be as wide as the img it contains.
no problem, IF the img is the only content.
however, as soon as i add text under the img, the div will widen as much as available if the text is long. i want the text to wrap so that the div remains exactly as wide as the image.
how can i do this...?
Sorry, RyanTyler1, this is a support forum for the lighttpd web server, not for client-side HTML.