/    Sign up×
Community /Pin to ProfileBookmark

Html code not working !!

Bought a HTML template and trying to get the contact page to work but there are not design notes of what to change … Hope some1 can help.

It’s the contact page that send a email to my account from the web, does any1 know what I need to change or do to make it work and where I must put in my address.

Thanx

Below is the code ?

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title>Project Management</title>
<META name=”keywords” content=””>
<meta name=”description” content=”project Management.”>
<meta http-equiv=”content-type” content=”text/html; charset=UTF-8″>

<link href=”style.css” rel=”stylesheet” type=”text/css”>
</head>
<body style=”padding:0; margin:0; background-image:url(images/q2.jpg)” bgcolor=”#646D72″ >
<table cellpadding=”0″ cellspacing=”0″ border=”0″ style=”width:100%; height:100% “>
<tr>
<td valign=”top” style=”width:100%; ” height=”703″>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ style=”width:100%; “>
<tr>
<td valign=”top” style=”width:50%; background-image:url(images/q1.jpg); background-repeat:repeat-x ” height=”703″>

</td>
<td valign=”top” width=”766″ height=”703″>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ align=”center” width=”766″>
<tr>
<td valign=”top” width=”766″ height=”703″ >
<table cellpadding=”0″ cellspacing=”0″ border=”0″>
<tr>
<td valign=”top” width=”766″ height=”103″ style=”background-image:url(images/top.jpg) “></td>
</tr>
<tr>
<td valign=”top” width=”766″ height=”422″>
<table cellpadding=”0″ cellspacing=”0″ border=”0″>
<tr>
<td valign=”top” width=”4″ height=”422″></td>
<td valign=”top” width=”7″ height=”422″ bgcolor=”#FFFFFF”></td>
<td valign=”top” width=”8″ height=”422″ style=”background-image:url(images/bg1.gif); background-repeat:no-repeat ” bgcolor=”#43BAE7″></td>
<td valign=”top” width=”225″ height=”422″ bgcolor=”#43BAE7″>
<table cellpadding=”0″ cellspacing=”0″ border=”0″>
<tr>
<td valign=”top” width=”219″ height=”422″ >
<div style=” margin-left:0px; margin-top:0px “><img src=”images/logo.gif” alt=”” border=”0″></div>
<div style=” margin-left:0px; margin-top:0px “><a href=”index.html”><img src=”images/m1-1.gif” alt=”” border=”0″></a></div>
<div style=” margin-left:0px; margin-top:0px “><a href=”asbestos-pwall.html”><img src=”images/m2.gif” alt=”” border=”0″></a></div>
<div style=” margin-left:0px; margin-top:0px “><a href=”Project-Management.html”><img src=”images/m3.gif” alt=”” border=”0″></a></div>
<div style=” margin-left:0px; margin-top:0px “><a href=”related-links.html”><img src=”images/m4.gif” alt=”” border=”0″></a></div>
<div style=” margin-left:0px; margin-top:0px “><a href=”Contact-page.html”><img src=”images/m5-5.gif” alt=”” border=”0″></a></div>
<div style=” margin-left:0px; margin-top:0px “><img src=”images/m6.gif” alt=”” border=”0″></div>
</td>
<td valign=”top” width=”6″ height=”422″ style=”background-image:url(images/bg2.jpg); background-repeat:no-repeat ” bgcolor=”#43BAE7″></td>
</tr>
</table>
</td>
<td valign=”top” width=”254″ height=”422″ style=”background-image:url(images/bg3.gif); background-repeat:repeat-x ” bgcolor=”#43BAE7″>
<div style=”margin-left:22px; margin-top:11px; ” class=”o”><img alt=”” align=”middle” style=”margin-right:12px ” src=”images/1_z2.gif” border=”0″><strong>Company directory:</strong></div>
<div style=” margin-left:22px; margin-top:9px “><img alt=”” align=”left” style=”margin-right:10px “src=”images/5_p1.jpg”>
<div style=” margin-left:22px; margin-top:7px; margin-right:25px; line-height:12px ” class=”w”>Surrey, London<br>

United Kingdom<br>
Tel:&nbsp;<br>
Fax:&nbsp;
</div>
</div>
<div style=” margin-left:21px; margin-top:25px “><img src=”images/1_line.gif” alt=”” border=”0″></div>
<div style=”margin-left:22px; margin-top:17px; ” class=”o”><img alt=”” align=”middle” style=”margin-right:12px ” src=”images/1_z2.gif” border=”0″><strong>Contact form:</strong></div>
<form action=”” style=”margin:0; padding:0 ” id=”form”>
<div style=” margin-left:22px; margin-top:9px; margin-right:25px; line-height:12px ” class=”w”>Your full name:
</div>
<div style=”margin-left:22px; margin-top:1px;” class=”t3″><input style=”border-style:solid; width:206px; height:21px; background-color:#34A8D1; border-color:#FFFFFF; border-width:1px ” class=”w1″ type=”text”></div>
<div style=” margin-left:22px; margin-top:1px; margin-right:25px; line-height:12px ” class=”w”>E-mail address:
</div>
<div style=”margin-left:22px; margin-top:1px;” class=”t3″><input style=”border-style:solid; width:206px; height:21px; background-color:#34A8D1; border-color:#FFFFFF; border-width:1px ” class=”w1″ type=”text”></div>
<div style=” margin-left:22px; margin-top:1px; margin-right:25px; line-height:12px ” class=”w”>Your message:
</div>

<div style=”margin-left:22px; margin-top:1px; ” class=”green”><textarea class=”w1″ cols=”35″ rows=”35″ style=”border-style:solid; width:206px; height:131px; background-color:#34A8D1; border-color:#FFFFFF; border-width:1px; overflow:hidden ” ></textarea></div>
<div style=”margin-left:147px; margin-top:1px; ” class=”blue”><img src=”images/1_z3.gif” alt=”” border=”0″ style=”margin-right:5px “><a href=”#” class=”o1″ onclick=”document.getElementById(‘form’).submit()”><strong>clear</strong></a><img alt=”” style=”margin-right:2px; margin-left:11px ” src=”images/1_z3.gif” border=”0″><a href=”#” class=”o1″ onclick=”document.getElementById(‘form’).submit()”><strong style=”margin-left:5px “>send</strong></a></div>
</form>
</td>
<td valign=”top” width=”258″ height=”422″ style=”background-image:url(images/p5.jpg); background-repeat:no-repeat ” bgcolor=”#43BAE7″></td>
<td valign=”top” width=”6″ height=”422″ bgcolor=”#FFFFFF”></td>
<td valign=”top” width=”4″ height=”422″></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign=”top” width=”766″ height=”178″ style=”background-image:url(images/bottom.jpg) “>
<table cellpadding=”0″ cellspacing=”0″ border=”0″>
<tr>
<td valign=”top” width=”300″ height=”178″>
<div style=” margin-left:37px; margin-top:36px; margin-right:5px; line-height:13px ” class=”s”>Copyright &copy;2006. <a href=”Privacy-policy.html” class=”s”>Privacy policy.</a></div>
</td>
<td valign=”top” width=”466″ height=”178″>
<div style=” margin-left:268px; margin-top:10px “><img src=”images/z1.gif” alt=”” border=”0″></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

</table>
</td>
<td valign=”top” style=”width:50%; background-image:url(images/q1.jpg); background-repeat:repeat-x ” height=”703″>
</tr>
</table>
</td>
</tr>
<tr>
<td valign=”top” style=”width:100%; height:100%; background-image:url(images/q2.jpg) “></td>
</tr>
</table>

</body>
</html>

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@abzOct 30.2006 — First I suggest you complain to the people you bought the template from. It is unprofessional and not user friendly to sell you something that doenst have support in for customising.

second, you want you put your address in here:

<form action="mailto:-YOUR EMAIL ADDRESS HERE-" method="post" style="margin:0; padding:0 " id="form">


you need to add in the method="post" as well. That should work, but i have never been a wiz with forms.
Copy linkTweet thisAlerts:
@Leoslat3rauthorOct 30.2006 — Thanx abz,

Yip I complained for sure and sent a complain to the general standards board, selling something without comments in the design code is Bull@£$"

I put in what u said and played around with it but it opens up my outlook which is shouldn't, it should send from the web page ?
Copy linkTweet thisAlerts:
@TheBearMayOct 30.2006 — ...

I put in what u said and played around with it but it opens up my outlook which is shouldn't, it should send from the web page ?[/QUOTE]


Then you'll need to change the action to point to a server side page (.asp, .aspx, .php, .jsp, etc.) that can process the information and send it to your mail service.
×

Success!

Help @Leoslat3r spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...