Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

make to copyright center problem


shengzhongbell

Recommended Posts

Hi, in my footer box, I put a google checkout logo on the left, and I try to put the "copyright & powered by" in the middle of the bottom box. But I failed to achieve this goal, I the code, and un-symmetrical image. Please give me suggestion. Thank you!

 

 

t1.jpg

 

 

-----------------------------------------------------------------------------------------------------------------------------

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="left" ><img src="/images/googlecheckout.gif" width="140" height="40" /></td>

<td align="middle" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

</tr>

</table>

-----------------------------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

Hi, in my footer box, I put a google checkout logo on the left, and I try to put the "copyright & powered by" in the middle of the bottom box. But I failed to achieve this goal, I the code, and un-symmetrical image. Please give me suggestion. Thank you!

 

 

t1.jpg

 

 

-----------------------------------------------------------------------------------------------------------------------------

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="left" ><img src="/images/googlecheckout.gif" width="140" height="40" /></td>

<td align="middle" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

</tr>

</table>

-----------------------------------------------------------------------------------------------------------------------------

 

Try this:

 

Replace your

<td align="middle" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

 

with

<td class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

 

OR

 

<td align="left" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

 

And see how that lines up.

Link to comment
Share on other sites

Try this:

 

Replace your

<td align="middle" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

 

with

<td class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

 

OR

 

<td align="left" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

 

And see how that lines up.

 

Hi Ashley,

 

Both work a little bit, but not exactly symmetric in the center:

t2.jpg

 

The copy right line should move a little bit left, I mean how to move the "Copyright © 2009 Oscommerce" a little bit left to the center?

 

 

Any thought?

 

Thanks!

Link to comment
Share on other sites

Try this:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="left" ><img src="/images/googlecheckout.gif" width="140" height="40" /></td>
<td width="34%" align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>
<td width="33%"></td>
</tr>
</table>

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

Try this:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="left" ><img src="/images/googlecheckout.gif" width="140" height="40" /></td>
<td width="34%" align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>
<td width="33%"></td>
</tr>
</table>

 

 

Hey, this one works exactly!

Thank you very much!!!

Link to comment
Share on other sites

It works because we've basically split the page into 3 (more or less) equal width columns with the <td>

 

Even though the last one (I added) is blank the browser still allocates space for it.

;)

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

Archived

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

×
×
  • Create New...