I have a layout that will have one, two or three images in a row. They are each floated left and have a fixed width of 240px. What I want to be able to do though is to put some text at the end of them so that if there are only one or two images that the text will fill the gap left on the right hand side. If there are three images then the text will be a full width. I thought I could just set a width:auto but all that does is goes full width and down below the existing images.