Link to home
Start Free TrialLog in
Avatar of mhaysom123
mhaysom123

asked on

Does anyone know how to stop Paypal buttons having a 'wide' border...?

Hello,

Right, ive got my table of products and am putting a 'add to cart' button in the cell to the right of eack cell with the product info in, heres the code for the table...


<table width="498"  border="0" cellpadding="6">
                <tr>
                  <td width="150" height="152" align="left"><img src="images/Candle%20Lamps/candlelampclear.jpg" width="150" height="150"></td>
                  <td width="214" align="left" valign="baseline" class="text"><span class="style2">clear candle lamp bc </span></td>
                  <td align="left" valign="baseline" class="text">&nbsp;</td>
                </tr>
                <tr>
                  <td colspan="2" align="left" valign="top" class="titles">40w clear candle lamp </td>
                  <td width="90" align="center" valign="baseline"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                        <input type="hidden" name="cmd" value="_cart">
                        <input type="hidden" name="add" value="1">
                        <input type="hidden" name="bn" value="webassist.dreamweaver.4_0_1">
                        <input type="hidden" name="business" value="checkout@sparkyselectrical.co.uk">
                        <input type="hidden" name="item_name" value="g">
                        <input type="hidden" name="item_number" value="g">
                        <input type="hidden" name="amount" value="5">
                        <input type="hidden" name="currency_code" value="GBP">
                        <input type="hidden" name="return" value="http://www.sparkyselectrical.co.uk/success">
                        <input type="hidden" name="cancel_return" value="http://www.sparkyselectrical.co.uk/cancel">
                        <input type="hidden" name="receiver_email" value="checkout@sparkyselectrical.co.uk">
                        <input type="hidden" name="mrb" value="R-3WH47588B4505740X">
                        <input type="hidden" name="pal" value="ANNSXSLJLYR2A">
                        <input type="hidden" name="no_shipping" value="0">
                        <input type="hidden" name="no_note" value="0">
                        <input type="image" name="submit" src="http://images.paypal.com/images/x-click-but10.gif" alt="Make payments with PayPal - it's fast, free and secure!">
                  </form></td>
                </tr>
                <tr>
                  <td colspan="2" align="left" valign="top" class="titles">40w clear candle lamp branded </td>
                  <td align="center" valign="baseline"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                      <input type="hidden" name="cmd" value="_cart">
                      <input type="hidden" name="add" value="1">
                      <input type="hidden" name="bn" value="webassist.dreamweaver.4_0_1">
                      <input type="hidden" name="business" value="checkout@sparkyselectrical.co.uk">
                      <input type="hidden" name="item_name" value="d">
                      <input type="hidden" name="item_number" value="d">
                      <input type="hidden" name="amount" value="4">
                      <input type="hidden" name="currency_code" value="GBP">
                      <input type="hidden" name="return" value="http://www.sparkyselectrical.co.uk/success.htm">
                      <input type="hidden" name="cancel_return" value="http://www.sparkyselectrical.co.uk/cancel.htm">
                      <input type="hidden" name="receiver_email" value="checkout@sparkyselectrical.co.uk">
                      <input type="hidden" name="mrb" value="R-3WH47588B4505740X">
                      <input type="hidden" name="pal" value="ANNSXSLJLYR2A">
                      <input type="hidden" name="no_shipping" value="0">
                      <input type="hidden" name="no_note" value="0">
                      <input type="image" name="submit" src="http://images.paypal.com/images/x-click-but10.gif" alt="Make payments with PayPal - it's fast, free and secure!">
                  </form></td>
                </tr>
                <tr>
                  <td colspan="2" align="left" valign="top" class="titles">60w clear candle lamp </td>
                  <td align="center" valign="baseline"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                      <input type="hidden" name="cmd" value="_cart">
                      <input type="hidden" name="add" value="1">
                      <input type="hidden" name="bn" value="webassist.dreamweaver.4_0_1">
                      <input type="hidden" name="business" value="checkout@sparkyselectrical.co.uk">
                      <input type="hidden" name="item_name" value="5">
                      <input type="hidden" name="item_number" value="5">
                      <input type="hidden" name="amount" value="6">
                      <input type="hidden" name="currency_code" value="GBP">
                      <input type="hidden" name="return" value="http://www.sparkyselectrical.co.uk/success.htm">
                      <input type="hidden" name="cancel_return" value="http://www.sparkyselectrical.co.uk/cancel.htm">
                      <input type="hidden" name="receiver_email" value="checkout@sparkyselectrical.co.uk">
                      <input type="hidden" name="mrb" value="R-3WH47588B4505740X">
                      <input type="hidden" name="pal" value="ANNSXSLJLYR2A">
                      <input type="hidden" name="no_shipping" value="0">
                      <input type="hidden" name="no_note" value="0">
                      <input type="image" name="submit" src="http://images.paypal.com/images/x-click-but10.gif"  >
                  </form></td>
                </tr>
                <tr>
                  <td colspan="2" align="left" valign="top" class="titles">60w clear candle lamp branded </td>
                  <td width="90" align="center" valign="baseline"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                      <input type="hidden" name="cmd" value="_cart">
                      <input type="hidden" name="add" value="1">
                      <input type="hidden" name="bn" value="webassist.dreamweaver.4_0_1">
                      <input type="hidden" name="business" value="checkout@sparkyselectrical.co.uk">
                      <input type="hidden" name="item_name" value="t">
                      <input type="hidden" name="item_number" value="t">
                      <input type="hidden" name="amount" value="4">
                      <input type="hidden" name="currency_code" value="GBP">
                      <input type="hidden" name="return" value="http://www.sparkyselectrical.co.uk/success.htm">
                      <input type="hidden" name="cancel_return" value="http://www.sparkyselectrical.co.uk/cancel.htm">
                      <input type="hidden" name="receiver_email" value="checkout@sparkyselectrical.co.uk">
                      <input type="hidden" name="mrb" value="R-3WH47588B4505740X">
                      <input type="hidden" name="pal" value="ANNSXSLJLYR2A">
                      <input type="hidden" name="no_shipping" value="0">
                      <input type="hidden" name="no_note" value="0">
                      <input type="image" name="submit" src="http://images.paypal.com/images/x-click-but10.gif" alt="Make payments with PayPal - it's fast, free and secure!">
                  </form></td>
                </tr>
               
              </table>


I was wondering if anyone knows how to stop the buttons spreading the table, so it looks the same as it does when working on it in dreamweaver...?

If not i would appreciate any ideas of a different layout...?

many thanks

mat
Avatar of mhaysom123
mhaysom123

ASKER

Forgot to say, I am using DW MX, with the Webassist Paypal extension, if that is any help...?
Hi

I just installed the paypal extension and tried your page

do you mean stop the spreading horizontally or vertically?

Regards

Scott
I think its vertical mainly, i think there is a slight border on the horizontal aswell, ideally i would like it to have no borders....thats if its possible....

thanks for looking

mat
ASKER CERTIFIED SOLUTION
Avatar of Colosseo
Colosseo
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

Thats great, thank you!!!!! The table works just as i wanted/needed it to...!

Thanks for your time and your solution!

Many thanks,

Mat.
Hello again, hopefully you will see this post...

I have made the table, the original one part of a template and now you have shown me that code i cant find a way of adding it to my template page, this is the code..


<table width="498"  border="0" cellpadding="6">
                  <tr>
                    <td width="150" height="152" align="left"><!-- TemplateBeginEditable name="image" --><img src="../cableandacc/images/accessories/crimps/roundlugcrimps.jpg" width="150" height="150"><!-- TemplateEndEditable --></td>
                    <td width="214" align="left" valign="baseline" class="text"><!-- TemplateBeginEditable name="description" --><span class="style2">Brief description of product, not sure, im just typing anything to fill up the space so i can see what it looks like with lots of words in and ..uh yeah whatever : ) </span><!-- TemplateEndEditable --></td>
                    <td align="left" valign="baseline" class="text">&nbsp;</td>
                  </tr>
                  <!-- TemplateBeginEditable name="product" -->
                  <tr>
                    <td colspan="2" align="left" valign="top" class="titles">gfj jdj jkds fj jdsjf fdsj </td>
                    <td width="90" align="center" valign="baseline"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                        <input type="hidden" name="cmd" value="_cart">
                        <input type="hidden" name="add" value="1">
                        <input type="hidden" name="bn" value="webassist.dreamweaver.4_0_1">
                        <input type="hidden" name="business" value="checkout@sparkyselectrical.co.uk">
                        <input type="hidden" name="item_name" value="g">
                        <input type="hidden" name="item_number" value="g">
                        <input type="hidden" name="amount" value="5">
                        <input type="hidden" name="currency_code" value="GBP">
                        <input type="hidden" name="return" value="http://www.sparkyselectrical.co.uk/success">
                        <input type="hidden" name="cancel_return" value="http://www.sparkyselectrical.co.uk/cancel">
                        <input type="hidden" name="receiver_email" value="checkout@sparkyselectrical.co.uk">
                        <input type="hidden" name="mrb" value="R-3WH47588B4505740X">
                        <input type="hidden" name="pal" value="ANNSXSLJLYR2A">
                        <input type="hidden" name="no_shipping" value="0">
                        <input type="hidden" name="no_note" value="0">
                        <input type="image" name="submit" src="http://images.paypal.com/images/x-click-but10.gif" alt="Make payments with PayPal - it's fast, free and secure!">
                    </form></td>
                  </tr>
                  <!-- TemplateEndEditable -->
                </table>


what it is, i was planning on splitting the bottom row into the amount needed for each product, they vary alot, and then i was going to add a 'add to cart' button in each of the new split cells... i think i need to make that table a form and will that then hold the buttons in the way the code you added....?

hope you can help.

mat