I have this page where you can upload images to the db. There is a div on the page and when you click the thumbnail it changes the image in the div. I set the image to height:90% and the width:auto; This works perfectly great in IE but not FF. I tried to insert max-width and max-height but that is not working entirely. The width is fixed but it would be too long in some pictures. THe objective of this is to allow any size image to the div and allow css to adjust the size of the image. Thanks for the reply.
I fixed it. I set the div to 475x252. then i set the img to width:auto;height:100%;max-height:252px;. I hope this helps other people