podarum Posted October 2, 2009 Share Posted October 2, 2009 Hi, I'm printing an image from an if statement, and I want to centre it.. any idea how.. so the last line in echo I'd like to centre it horizontally on the page.. Thanks {if ($Utilization2 == 0){echo "<table><td style=text-align:justify> Your utilization position is solid and not an issue with most credit grantors in this regard. The debt-to-credit ratio is <b>".$Utilization2;print " %</b>";print". You are not carrying a balance, but would want to show a higher utilization % to demonstrate that you use the credit assigned and able to pay it off. </td></table>";echo'<img src="images/Process5 0a.png" width="350" height="200">';} Link to comment Share on other sites More sharing options...
jlhaslip Posted October 2, 2009 Share Posted October 2, 2009 wrap it in a div with margin: 0 auto; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.