Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP PLEASE with footer


scrapkats

Recommended Posts

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 by scrapkats

"Life is short, break the rules, forgive quickly, kiss slowly, love truly, laugh uncontrollably, and never regret anything that made you smile."

Link to comment
Share on other sites

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>

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 >

Link to comment
Share on other sites

thank you very much - I did try this, but see I missed the one at the bottom.

 

Thank you

 

Kat

"Life is short, break the rules, forgive quickly, kiss slowly, love truly, laugh uncontrollably, and never regret anything that made you smile."

Link to comment
Share on other sites

You'll find that most HTML tags work that way:

 

<tag> ..... </tag>

Edited by germ

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 >

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...