|
Posted by Ron on 05/01/07 00:02
Hi all,
I'm in need of an opinion. The code following is meant to have an
image on the left and to the right of it a header and then a new
paragraph and some info that should run down the right of the image.
It does this fine in IE, then wraps underneath, but in Safari after
the H3 the new paragraph starts under the image. Not a huge deal but
wondering of others have experienced this. Thoughts on a better
layout? Could easily use a table.
for ($i=0; $i <$num_results; $i++)
{
$row = mysql_fetch_array($result);
echo "<h3>";
echo "<img align=left src=";
echo $row["icon_url"];
echo ">";
echo $row["name"];
echo "</h3>";
echo "<p>";
echo $row["address"];
echo "<br>";
echo $row["city"];
echo ", ";
And so on.......
Thanks for any help.
Navigation:
[Reply to this message]
|