Im trying to display an array of images using a for loop and inclosing the images in a fieldset.In the fieldset, there are also a couple of radio buttons Everything works fine on firefox, but on IE, the first image of the array is padded by about 20px at the top while the rest of the sides and the other pictures are ok. Ive been doing web dessign for a short while now but more and more everyday i seems to hate IE even more.
a sample of the code is
Code: Select all
<?php
for ($i=0; $i<3; $i++)
{
$display1= "<div class=\"float_left\"><fieldset style=\"width:180px\"><legend align=\"center\">Test</legend>
<form method=\"post\" action=\"code2.php\">
<input type=\"radio\" name=\"pic1\" value=\"picture1\">";
echo $display1;
to save space, here the image location is extracted from database and displayed using echo
}
?>
all that is contained in the class "float left" is (float: left;)
Any help/ suggestions would be greatly appreciated.