Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Spacing Issue


nkahook

Recommended Posts

Posted

Hi!

 

I hope someone can help me. I'm editing the login page of our site. It's connected to three different pages. My account, Login, and the page that the customer is directed to when they have something in their cart. The spacing in My Account and Login look fine but in the in the checkout page there is a large space between the header & image and the text. Not sure how to fix it because the cellpadding and cellspacing are at 0 and the other two pages look fine. As you can probably figure I'm a newbie at this so any suggestions would help greatly. If you go to www.prescriptiongiant.com, add something in your cart and click the checkout button and then the guest button you can see what I mean.

Posted

on your product_info.php page you have open <td><tr> tags whoever commented out the code has commented the closing tags out as well, this results in your page being incorrectly displayed (in Firefox) the create account, or guest account page seem ok to me

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

I just accidentally tranferred the product_info.php page in the wrong folder...I overwrote the product_info.php that was in the languages/english folder....I don't what it looks like....please help!!

Posted

As Nic mentioned, you have a mess with your HTML coding.

 

Best solution would be to revert back to older saved copies and start over. Or you can go through the files and look for missing tags.

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Posted

I got sidetracked because of the product_info.php page. It was a mess and I ended up reverting to an old version. Before that happened the issue I was having was with spacing between the header title and the disclaimer on the login page and the my account page. Can anyone help? I've changed cellspacing and cellpadding to 0 but it's not working. Please help!

 

https://www.prescriptiongiant.com/login.php?my_account_f=1

Posted

I got sidetracked because of the product_info.php page. It was a mess and I ended up reverting to an old version. Before that happened the issue I was having was with spacing between the header title and the disclaimer on the login page and the my account page. Can anyone help? I've changed cellspacing and cellpadding to 0 but it's not working. Please help!

 

https://www.prescriptiongiant.com/login.php?my_account_f=1

Are you talking about the space between Welcome and Important? If so, that's a picture.

 

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?>

Posted

haha yes between welcome and Important:. I know theres a picture but there is still a large space between them. That didn't show up until I edited the text.

Posted

haha yes between welcome and Important:. I know theres a picture but there is still a large space between them. That didn't show up until I edited the text.

Cell spacing and cell padding are set to 4. HTML rendering of your page:

 

<td><table border="0" width="100%" cellspacing="4" cellpadding="4" align="center">
             <!-- this is where PWA mods begin -->

 <td class="main"><font color="#ff0000"><b>IMPORTANT:</b></font>

 

What's the coding for login.php?

Posted

Hi,

 

Thanks guys for the help. There were about four of these right before the Important: text

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

 

Once I took them out the spacing was gone. I'm still getting the hang of php. I know this was a blank image but can anyone explain its purpose?

Posted

Hi,

 

Thanks guys for the help. There were about four of these right before the Important: text

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

 

Once I took them out the spacing was gone. I'm still getting the hang of php. I know this was a blank image but can anyone explain its purpose?

As the image name implies it's used as a horizontal separator, to separate areas of a page.

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 >

Archived

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

×
×
  • Create New...