I'm trying to preserve the original shapes of gallery images in dynamically
resized thumbnail images, but in IE6 (and also in older versions of Safari )
this code is simply resizing the images to squares, exactly 167x167. This
is the code being used, and on this page:
http://130.94.73.213/migration_series/cag/gallery.cfm?galprogid=12 Any ideas
what I might be doing wrong?
BTW an additional complication is that this is all being done with Cold
Fusion and the code falls far short of valdiating (I do not have control
over all of the code, hélas). Is there anything I can do?
<style type="text/css">
#imggallery img {
max-width:167px;
max-height:167px;
}
</style>
<!--[if lte IE 6]>
<style type="text/css">
#imggallery img {max-width:167px;
width: expression(this.width > 167 ? 167: true);
max-height:167px;
height: expression(this.height > 167 ? 167: true);
}
</style>
<![endif]-->
TIA,
Anne
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/