10-31-2007, 08:02 AM
I have an image in a <div>. The <div> has a fixed height and width. I want the image to expand to fill the entire width of the parent <div>, with its height adjusting proportionally. There are many different images which may be used, so I cannot calculate the proportions beforehand. [How] can I do this with CSS?