Hello everyone, I have created a code to display 3 images in a row. It works perfectly in Firefox but not in Internet Explorer. Here is my code:
echo "<div class=\"container mod\"><ul id=\"three-col\" class=\"press\">";
while($cat = $db->sql_fetchrow($catinfo)) {
$counter++;
echo '
<li>
<div class="post-content">
<a class="zoom1">
<img src="'.$galsettings[setImgDir].'/'.$cat[galCatLocation].'/'.$cat[galCatImg].'" alt="'.$cat[galCatName].'" />
</a>
</div>
<span class="post-bottom"></span>
<div class="meta">
<p>'.$cat[galCatName].'</p>';
echo ' </div>';
echo '</li>';
if ( $counter == 3 ) {
echo '<ul>';
$counter = 0;
}
}
echo "</ul></div>";