Hello!
On my main-page I´d like to show thumbnails besides the topics. I´ve found this code which works absolutely correct in Firefox and Google Chrome, but not in I.E.
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div id="bakgrund">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<a href="<?php the_permalink() ?>" style="height:120px;" rel="bookmark" title="<?php the_title(); ?>"> <img style="float: left; height: 120px; border: 1px solid #000; margin: 0px 10px 0px 0px;" src="/wp-content/uploads<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>" alt="thumbnail" height="120px" /></a>
As you se, the thumbnail loads from a custom field. The problem in I.E is that the thumbnails height is only a few px, instead of whats set in the "style" (120px)
I´ve tried to figured this out, but I ca´nt come up whit anything that works.
/ Joakim