logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-28-2015, 05:47 PM   #1
Garyr
 
Join Date: Jun 2009
Posts: 17
Default Insert paypl button problems

HI I am trying to build a website in dreamweaver and when putting a paypal button into a table it shifts everything around. Is there an easier way to construct the page or am I just doing something wrong. It is a site to sell banknotes and coins so tables seemed the best way to go. I would really appreciate your help Thanks

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>afghanistannotepics</title>
<style type="text/css">
<!--
.style1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 36px;
color: #FFFFFF;
}
.style2 {color: #3F2D42}
.style3 {font-size: 48px}
.style5 {color: #FFFFFF}
.style9 {font-size: 48px; color: #3F2D42; }
body {
margin-left: 0px;
margin-top: 0px;
}
.style11 {color: #FFFFFF; font-size: 24px; }
.style14 {color: #FFFFFF; font-size: 20px; }
.style15 {color: #000000}
.style16 {font-size: 14px}
-->
</style>
</head>
<body>
<table width="1366" height="74" border="0" cellpadding="0" cellspacing="0" bordercolor="#3F2D42">
<tr>
<td width="704" height="57" bgcolor="#3F2D42"><span class="style1"><span class="style2">.</span><span class="style9">.</span><span class="style3"><span class="style2">.</span>Maxwells Collectables </span></span></td>
<td width="662" valign="middle" bgcolor="#3F2D42"><span class="style2">................................... .................................................. ......</span><span class="style11">AFGHANISTAN NOTES </span></td>
</tr>
</table>
<table width="1366" border="0" bgcolor="#3F2D42">
<tr bordercolor="#3F2D42">
<td width="154">&nbsp;</td>
<td width="185" bgcolor="#3F2D42"><div align="center"><span class="style14">HOME</span></div></td>
<td width="266"><div align="center"><span class="style14">CATAGORIES</span></div></td>
<td width="279"><div align="center"><span class="style14">ABOUT US </span></div></td>
<td width="269"><div align="center"><span class="style14">CONTACT US </span></div></td>
<td width="187">&nbsp;</td>
</tr>
</table>
<table width="1366" height="285" border="0" cellspacing="0" bordercolor="#3F2D42">
<tr>
<td width="400" height="285" bordercolor="#3F2D42" bgcolor="#3F2D42">&nbsp;</td>
<td width="1296"><table width="1315" height="283" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
<tr>
<td width="432" height="281"><table width="432" height="115" border="0">
<tr>
<td width="278"><table width="200" border="0">
<tr>
<td><img src="../Maxwellscollectables/banknotepics/Afghanistan/a1a.jpg" alt="a1a" width="270" height="114" longdesc="../Maxwellscollectables/banknotepics/Afghanistan/a1a.jpg" /></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="../Maxwellscollectables/banknotepics/Afghanistan/a1b.jpg" alt="a1b" width="270" height="115" longdesc="../Maxwellscollectables/banknotepics/Afghanistan/a1b.jpg" /></td>
</tr>
</table></td>
<td width="144"><table width="144" border="0">
<tr>
<td width="138"><p class="style16"><span class="style5">..</span>2 AFGHANIS<span class="style5">.</span></p>
<p class="style16"><span class="style5"><span class="style15"><span class="style5">..</span>C</span></span>ONDITION : UNC</p>
<p class="style16"><span class="style5">..</span>YEAR : 2002 </p>
<p class="style16"><span class="style5">..</span>CODE : A1<span class="style5">.</span></p>
<p class="style16"><span class="style5">..</span>PRICE : &pound;2</p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="YHLCPL22HR2SC">
<input type="image" src="https://www.paypalobjects.com/en_GB/...tn_cart_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"> </div>
</form>
<div align="center">&nbsp;</div></td>
</tr>
<tr>
<td><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="YHLCPL22HR2SC">
<input type="image" src="https://www.paypalobjects.com/en_GB/...tn_cart_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"> </div>
</form>
<div align="center">&nbsp;</div></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="441"><table width="438" border="0">
<tr>
<td width="276" height="162"><table width="276" border="0">
<tr>
<td width="270"><img src="../Maxwellscollectables/banknotepics/Afghanistan/a2a.jpg" alt="a2a" width="270" height="115" longdesc="../Maxwellscollectables/banknotepics/Afghanistan/a2a.jpg" /></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="../Maxwellscollectables/banknotepics/Afghanistan/a2b.jpg" alt="a2b" width="270" height="114" longdesc="../Maxwellscollectables/banknotepics/Afghanistan/a2b.jpg" /></td>
</tr>
</table></td>
<td width="152"><table width="151" border="0">
<tr>
<td width="145"><p class="style16"><span class="style5">..</span>2 AFGHANIS<span class="style5">.</span></p>
<p class="style16"><span class="style5"><span class="style15"><span class="style5">..</span>C</span></span>ONDITION : UNC</p>
<p class="style16"><span class="style5">..</span>YEAR : 2002 </p>
<p class="style16"><span class="style5">..</span>CODE : A1<span class="style5">.</span></p>
<p class="style16"><span class="style5">..</span>PRICE : &pound;2</p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<div align="center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="S97LKDXNZVH6U">
<input type="image" src="https://www.paypalobjects.com/en_GB/..._buynow_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</div>
</form>
<div align="center">&nbsp;</div></td>
</tr>
<tr>
<td><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="DRWH2SABVU9B4">
<input type="image" src="https://www.paypalobjects.com/en_GB/...tn_cart_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</div>
</form>
<div align="center">&nbsp;</div></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="434"><table width="429" border="0">
<tr>
<td width="423" height="269"><table width="432" border="0">
<tr>
<td width="200" height="343">..<br />
<br />
<table width="200" border="0">
<tr>
<td><img src="../Maxwellscollectables/banknotepics/Afghanistan/a3a.jpg" alt="a3a" width="270" height="115" longdesc="../Maxwellscollectables/banknotepics/Afghanistan/a3a.jpg" /></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="../Maxwellscollectables/banknotepics/Afghanistan/a3b.jpg" alt="a3b" width="270" height="113" longdesc="../Maxwellscollectables/banknotepics/Afghanistan/a3b.jpg" /></td>
</tr>
</table>
<p class="style16">&nbsp;</p> </td>
<td width="222"><table width="156" border="0">
<tr>
<td width="145"><p class="style16"><span class="style5">..</span>2 AFGHANIS<span class="style5">.</span></p>
<p class="style16"><span class="style5"><span class="style15"><span class="style5">..</span>C</span></span>ONDITION : UNC</p>
<p class="style16"><span class="style5">..</span>YEAR : 2002 </p>
<p class="style16"><span class="style5">..</span>CODE : A1<span class="style5">.</span></p>
<p class="style16"><span class="style5">..</span>PRICE : &pound;2</p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<div align="center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="CNJP2EXWJGKUA">
<input type="image" src="https://www.paypalobjects.com/en_GB/..._buynow_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"> </div>
</form>
<div align="center">&nbsp;</div></td>
</tr>
<tr>
<td><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="C3LK7L5ZKKW8Y">
<input type="image" src="https://www.paypalobjects.com/en_GB/...tn_cart_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"> </div>
</form>
<div align="center">&nbsp;</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table></td>
<td width="400" bgcolor="#3F2D42">&nbsp;</td>
</tr>
</table>
<br />
</body>
</html>
Garyr is offline   Reply With Quote
Old 09-28-2015, 07:46 PM   #2
Tiger
 
Join Date: Sep 2015
Posts: 15
Default

I don't see the problem in your code (I check on dreamweaver and it all seem's fine, Try using a DIV tag instead of tables.
Tiger is offline   Reply With Quote
Old 09-29-2015, 01:58 AM   #3
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

in line styles , no positioning. dont rely on dreamwever to point out errors
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-29-2015, 11:58 AM   #4
Garyr
 
Join Date: Jun 2009
Posts: 17
Default

Hi thanks for your help but i am a bit lost still, i want to use tables but as from the code i have put in here you can see the spaces at the top and bottom of the pages are to big and I cannot seem to reduce them. And when I have a table to put the two paypal buttons in I have a really tricky job centering them. Do you think it is because I am using an old version of Dreamweaver, do you think I should upgrade to CS6? Thanks again
Garyr is offline   Reply With Quote
Old 09-30-2015, 01:25 AM   #5
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

upgrading dw wont make a difference .
sorry i havent used tables apart from mailings for years.
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-30-2015, 06:16 AM   #6
Tiger
 
Join Date: Sep 2015
Posts: 15
Default

Quote:
Originally Posted by Garyr View Post
Hi thanks for your help but i am a bit lost still, i want to use tables but as from the code i have put in here you can see the spaces at the top and bottom of the pages are to big and I cannot seem to reduce them. And when I have a table to put the two paypal buttons in I have a really tricky job centering them. Do you think it is because I am using an old version of Dreamweaver, do you think I should upgrade to CS6? Thanks again
Garyr if you can send me your files then i'll fix it for you.
Tiger is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com