Evenly-horizontally distributed images of varied widths?

I have 10 images that are the same height but different widths. I need to display them all in one line.. Is this possible? Also the widths are fluid for the container. Tried this but as my images aren't the same widths it doesn't seem to work for me.
 
Back
Top