Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

quick question, Center footer bar


Iniquityclothing

Recommended Posts

Hi folks i have tried searching this but i get like 1,0000,0000,0000 results! all i wana do is center that silly footer bar that has the time in it and page click counter?? i no this must be simple but cannot do it! Im using Center Store CSS2 but i still cannot do this!

please take a look what i mean @

 

MY STORE CLICK HERE

 

Thanks

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Link to comment
Share on other sites

your problem probably lies within:

<!-- footer //-->
<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="footer">
<td class="footer">??Wednesday 01 November, 2006??</td>
<td align="right" class="footer">??3046 requests since Thursday 12 October, 2006??</td>
 </tr>
</table>

so you need to look in stylesheet.css for:

TR.footer {
 background: #bbc3d3;
}

TD.footer {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 background: #bbc3d3;
 color: #ffffff;
 font-weight: bold;
}

to add "text-align:center" and/or the file includes/footer.php for:

<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="footer">
<td class="footer">??<?php echo strftime(DATE_FORMAT_LONG); ?>??</td>
<td align="right" class="footer">??<?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>??</td>
 </tr>
</table>

and remove the align="right" bit

 

I'll leave you to figure out which suits best as the gong has just sounded down the great hall to summon me for evening meal :thumbsup:

one-click installation..

Dave's info

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...