Link to home
Start Free TrialLog in
Avatar of nbierm65
nbierm65

asked on

Keep WordPress thumbnails from getting squished by max-width in CSS

I set my WordPress post thumbnails to max out at a certain height and width, but they're distorting every image to be exactly that height and width. (No, I'm not on IE, I know IE<7 screws this up, I'll worry about that later. I'm on Firefox 3.6.) Here's my CSS:

.wp-post-image {border: 1px solid black; float:right; margin:10px 40px; max-height:150px; max-width:200px;}

What should I do?
ASKER CERTIFIED SOLUTION
Avatar of gwkg
gwkg
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nbierm65
nbierm65

ASKER

ok i'll try that