S
splashedwater
Hi guys, I have a question which is kind of tricky.... I think. I was
wondering how to format text in between left and center. I have an
image (of a product) then under that a price. When I try to center the
text it goes slightly too far to the right (because my image is
slightly off center from my table). Does anyone know how to rememedy
this.
Here is the code,:
<code>
echo "<td border='0' height='168' valign='top' align='left'><a
href='view_print.php?pid=".$row['product_id']."'><img src='uploads/".
$row['image_name']."' alt='".$row['item_name']."'></a><br /><font
size='4'><b><div align='left'>Price: \$".$row['price']. " </div></
b></font></td>";
</code>
You probably have to know php or programming to understand this... but
basically image_name is the image then a <br> then the price which is
currently alligned to the left.
Does this make sense? If not I can clarify.
wondering how to format text in between left and center. I have an
image (of a product) then under that a price. When I try to center the
text it goes slightly too far to the right (because my image is
slightly off center from my table). Does anyone know how to rememedy
this.
Here is the code,:
<code>
echo "<td border='0' height='168' valign='top' align='left'><a
href='view_print.php?pid=".$row['product_id']."'><img src='uploads/".
$row['image_name']."' alt='".$row['item_name']."'></a><br /><font
size='4'><b><div align='left'>Price: \$".$row['price']. " </div></
b></font></td>";
</code>
You probably have to know php or programming to understand this... but
basically image_name is the image then a <br> then the price which is
currently alligned to the left.
Does this make sense? If not I can clarify.