Auto height issues in Explorer
-
Hi!
I got a problem with IE,
the code looks like this:<a href="<?php the_permalink(); ?>" rel="bookmark"> <img style="padding-bottom:20px;" src="<?php echo $postimageurl; ?>" alt="Post Pic" width="300" height="<?php echo get_post_meta($post->ID, "Height", true);?>" /> </a>
And the problems is the height!
Ive tried searching the forum and found a couple of threads who dealt with the same issue but found no solution.The thing IE does is that it squeezes the images vertically to a height of 1px. The same thing happens if I set the height to “auto”, but if I set the height to a fixed one, say 200px – it “works” just fine.
The code works well in Firefox.
Any one got a suggestion for a IE fix of this? (I use IE7)
Cheers!
- The topic ‘Auto height issues in Explorer’ is closed to new replies.