Jump to content

Center Image In Php


Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...