Ok, here's the story:
This code does NOT separate the rows, but DOES line up images / text correctly
HTML Code:
echo "<td>";
echo "<img src=\"http://www.webmaster-talk.com/images/$row[element_5]\" border=\"1\" width='$maxwidth' alt=\"$row[element_1]\" title=\"$row[element_1]\">";
echo "<br>";
echo "$row[element_1]</td>";
This code DOES separate the rows, but text DOES NOT line up correctly
HTML Code:
echo "<tr>";
echo " ";
echo "<img src=\"http://www.webmaster-talk.com/images/$row[element_5]\" border=\"1\" width='$maxwidth' alt=\"$row[element_1]\" title=\"$row[element_1]\">";
echo "</tr>";
echo "$row[element_1]";
could someone PLEASE get the text to line line up under the image in the second bit of code, I have figured out everything else. Text is element_1. My results have been aligning the text to the left or right of the image...I know it has to do with the <td> and <tr> tags, but like I said, I've been out of it for a long time, and it's beginning to take my love away from it, aka very, very frustrating making the same mistakes over and over for a few weeks in a row.
Of course the data is coming from mysql db.
Appreciate the help!
__________________
Made2Own
Last edited by Brian07002; 12-13-2009 at 02:18 AM..
|