scrapkats Posted May 21, 2008 Posted May 21, 2008 (edited) Hi I am inserting rankings in my footer (see the big lot of html at bottom of standard footer html) and I would like to centre them on the page in a row, rather than them being aligned to the left. Can someone please tell me how to make them centred. Thank you so very much. <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> <a href="http://top50.scrapbookingstores.org/Australia/" target="_blank"><img alt="Scrapbooking Stores Top 50" src="http://top50.scrapbookingstores.org/store/scrappinkats" /></a> <a href="http://top100.aussiescrapbooking.com.au/cgi-bin/topsite.cgi?user=scrapkats"><img alt="Aussie Scrapbooking Top 100 Scrapbooking Sites" src="http://top100.aussiescrapbooking.com.au/cgi-bin/counter.cgi?user=scrapkats" border="0" /> </a><a href="http://www.purplescraps.com.au/topsites/"><img alt="PurpleScraps Topsites - Australia's BEST Scrap Sites" src="http://www.purplescraps.com.au/topsites/button.php?u=katscraps" border="0" /></a> <a href="http://www.scrapbookingtop50.com.au/topsites/"><img alt="Scrapbooking Top50" src="http://www.scrapbookingtop50.com.au/topsites/button.php?u=scrappinkats" border="0" /></a> <a href="http://www.scraplounge.com.au/topsites/index.php?a=in&u=scrappinkats"><img alt="Scrap Lounge Top Sites" src="http://www.scraplounge.com.au/topsites/button.php?u=scrappinkats" border="0" /></a> Edited May 21, 2008 by scrapkats Quote "Life is short, break the rules, forgive quickly, kiss slowly, love truly, laugh uncontrollably, and never regret anything that made you smile."
germ Posted May 21, 2008 Posted May 21, 2008 Put the code between HTML <center> tags: <center> <a href="http://top50.scrapbookingstores.org/Australia/" target="_blank"><img alt="Scrapbooking Stores Top 50" src="http://top50.scrapbookingstores.org/store/scrappinkats" /></a> <a href="http://top100.aussiescrapbooking.com.au/cgi-bin/topsite.cgi?user=scrapkats"><img alt="Aussie Scrapbooking Top 100 Scrapbooking Sites" src="http://top100.aussiescrapbooking.com.au/cgi-bin/counter.cgi?user=scrapkats" border="0" /> </a><a href="http://www.purplescraps.com.au/topsites/"><img alt="PurpleScraps Topsites - Australia's BEST Scrap Sites" src="http://www.purplescraps.com.au/topsites/button.php?u=katscraps" border="0" /></a> <a href="http://www.scrapbookingtop50.com.au/topsites/"><img alt="Scrapbooking Top50" src="http://www.scrapbookingtop50.com.au/topsites/button.php?u=scrappinkats" border="0" /></a> <a href="http://www.scraplounge.com.au/topsites/index.php?a=in&u=scrappinkats"><img alt="Scrap Lounge Top Sites" src="http://www.scraplounge.com.au/topsites/button.php?u=scrappinkats" border="0" /></a> </center> Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
scrapkats Posted May 21, 2008 Author Posted May 21, 2008 thank you very much - I did try this, but see I missed the one at the bottom. Thank you Kat Quote "Life is short, break the rules, forgive quickly, kiss slowly, love truly, laugh uncontrollably, and never regret anything that made you smile."
germ Posted May 21, 2008 Posted May 21, 2008 (edited) You'll find that most HTML tags work that way: <tag> ..... </tag> Edited May 21, 2008 by germ Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.