Image won't center

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
boondox
Forum Newbie
Posts: 20
Joined: Wed Oct 08, 2008 4:58 am

Image won't center

Post by boondox »

ok the full scrip works perfectly except for this small snippet..

is "center" the right tag I should use?

Code: Select all

print "<font size=2 face=Arial>";
        if ($alliance[flag] && $alliance[url]) {
        print "<center><a href=\"$alliance[url]\" target=_blank>
                       <img src=\"$alliance[flag]\" border=0></a></center>
                       <br>
                \n";
boondox
Forum Newbie
Posts: 20
Joined: Wed Oct 08, 2008 4:58 am

Re: Image won't center

Post by boondox »

oh well figured it out myself... had to use a div align tag to get it centered
Post Reply