Stretched images in *some* tables in IE
-
Working on a site with a custom front page. It has a table setup to allow three posts to be featured. Top feature spans three columns and looks fine. Bottom two features are in single columns with a “spacer” column in between.
It’s at this link.
Note the bottom feature images are stretched in IE. The top is fine.
Here’s the image css used:
#topfeature img { margin-top: -37px; max-width: 300px; height: auto; } #lowerfeature img { margin-top: -47px; max-width: 150px; height: auto; }
(The negative margin-top settings are so that the image is to the left of the title and text)
My height:auto settings don’t seem to work in IE, but they’re fine in Firefox. Any ideas why this might be happening?
In the table cells I have this code:
(TOP)
<td valign="top" colspan="3">
(BOTTOM CELLS – each has this)
<td width="300px" valign="top">
Thanks for your time, folks.
- The topic ‘Stretched images in *some* tables in IE’ is closed to new replies.