Hey Guys,
I have an unordered list of images that display inline and float next to each other. Everything looks fine in Firefox and Chrome, but in internet explorer the last image is pushed down vertically a bit. Any idea why this would happen? Link is here:
And here is the basic code:
<div id="fatured_properties">
<h4> Also in the Neighborhood </h4>
<ul>
<li>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<img src="<?php bloginfo('template_directory'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, 'image', $single = true); ?>&h=135&w=180&zc=1" alt="<?php the_title(); ?>" />
</a>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<span><?php the_title(); ?></span>
</a>
</li>
... etc ....
</ul>
</div>
And CSS:
#fatured_properties {
overflow: auto;
text-align: center;
width: 100%;
}
#fatured_properties h3 {
text-transform: uppercase;
color: #f60;
font-size: 13px;
padding-bottom: 10px;
margin: 0 auto;
display: block;
width: auto;
}
#fatured_properties ul{
display: inline;
}
#fatured_properties ul li{
margin: 0 5px;
float: left;
}
.hamptons_guide #fatured_properties ul li{
margin: 0 14px;
}
#fatured_properties ul li img{
display: block;
clear: both;
}
#fatured_properties ul li span {
font: bold 13px "Calibri", Verdana, Helvetica, sans-serif;
letter-spacing: 1px;
width: 195px;
display: block;
text-align: left;
}