Jump to content



Latest News: (loading..)

- - - - -

HELP PLEASE with footer


  • Please log in to reply
3 replies to this topic

#1   scrapkats

scrapkats
  • Members
  • 36 posts
  • Real Name:Kathryn Thompson
  • Gender:Female
  • Location:Australia

Posted 21 May 2008 - 12:42 AM

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&amp;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, 21 May 2008 - 12:43 AM.

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

#2   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 21 May 2008 - 12:52 AM

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&amp;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 >

#3   scrapkats

scrapkats
  • Members
  • 36 posts
  • Real Name:Kathryn Thompson
  • Gender:Female
  • Location:Australia

Posted 21 May 2008 - 12:56 AM

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."

#4   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 21 May 2008 - 12:59 AM

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

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

Edited by germ, 21 May 2008 - 12:59 AM.

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 >