podarum Posted October 2, 2009 Report 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 Report 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
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 accountSign in
Already have an account? Sign in here.
Sign In Now