PDA

View Full Version : webpage wont work in IE now


secoff22
12th July 10, 05:18 AM
I created a site for work using notepad and html, it worked fine in ie7 but not now in ie8. The webpage works but when you hit submit and the e-mail is generrated the e-mail is blank, below is my code, tks.

<HTML>
<div style="width:670px;height:200px;border:2px solid black;">


<HEAD>
<TITLE>Issuing a Key Exam</TITLE>
</HEAD>
<BODY>

<CENTER><FONT COLOR="BLACK"><FONT FACE="GEORGIA" SIZE=+3>Issuing a Key
</FONT></CENTER>

<HR>

<p><BLOCKQUOTE>Fill in the required fields, including the Exam Name from above and the Officer, take the test and click "Submit."
When the automatic e-mail is generated to Sgt. Ward, hit "Send."</BLOCKQUOTE></p>

<form name="name" method="POST" action="mailto:me@me.com" enctype="text/plain">

<p><b>&nbsp Enter Exam Name</b>
<INPUT NAME="Exam Name" TYPE="TEXT" SIZE="20" MAXLENGTH="20"</p>

<p><b>&nbspOfficer</b>
<SELECT NAME="Officer">

<OPTION>Norm Baillargeon</OPTION>
<OPTION>Richard Beaucage</OPTION>
<OPTION>Brian Chouinard</OPTION>
<OPTION>Todd Gatchell</OPTION>
<OPTION>Mark Grondin</OPTION>
<OPTION>Jeff Kirouac</OPTION>
<OPTION>Matt Lachance</OPTION>
<OPTION>Brian Marshall</OPTION>
<OPTION>Brian Morlano</OPTION>
<OPTION>Robert Morlano</OPTION>
<OPTION>Richard Ouellette</OPTION>
<OPTION>Dave Pomerleau</OPTION>
<OPTION>Alida Ramirez</OPTION>
<OPTION>Doug Sites</OPTION>
<OPTION>Ken Ward</OPTION>

</SELECT></p>

<P><b>&nbsp1. Where are completed keys kept?</b></P>
<INPUT NAME="QUESTION 1" TYPE="RADIO" VALUE="Drawer #1">Drawer #1
<br><INPUT NAME="Question 1" TYPE="RADIO" VALUE="Under the Officer PC">Under the Officer PC
<br><INPUT NAME="Question 1" TYPE="RADIO" VALUE="On the Work Done clipboard">On the Work Done clipboard
<br><INPUT NAME="Question 1" TYPE="RADIO" VALUE="In Drawer #3">In Drawer #3</P>

<P><b>&nbsp2. Where are completed keys kept?</b></P>
<INPUT NAME="QUESTION 2" TYPE="RADIO" VALUE="Drawer #1">Drawer #1
<br><INPUT NAME="Question 2" TYPE="RADIO" VALUE="Under the Officer PC">Under the Officer PC
<br><INPUT NAME="Question 2" TYPE="RADIO" VALUE="On the Work Done clipboard">On the Work Done clipboard
<br><INPUT NAME="Question 2" TYPE="RADIO" VALUE="In Drawer #3">In Drawer #3</P>

<P><b>&nbsp3. Where are completed keys kept?</b></P>
<INPUT NAME="QUESTION 3" TYPE="RADIO" VALUE="Drawer #1">Drawer #1
<br><INPUT NAME="Question 3" TYPE="RADIO" VALUE="Under the Officer PC">Under the Officer PC
<br><INPUT NAME="Question 3" TYPE="RADIO" VALUE="On the Work Done clipboard">On the Work Done clipboard
<br><INPUT NAME="Question 3" TYPE="RADIO" VALUE="In Drawer #3">In Drawer #3</P>


<P><P><C>&nbsp<INPUT TYPE="SUBMIT" VALUE="Submit"></P></c>

</body><br></br>
</div>
</html>

chrishirst
12th July 10, 09:37 AM
use server side code to send emails.

secoff22
12th July 10, 08:31 PM
Thats not possible, I work in the security dept of a hospital and IS won't give access to servers......any ideas?

meesa
13th July 10, 05:04 AM
Ask them to do it for you. Or put the script on another server.

secoff22
13th July 10, 06:02 AM
I appreciate the respsonses, but I've already thought of all this, going through IS or another isn't an option. I'm just looking to see if there is anyway I can chnage the code to make it work.

chrishirst
13th July 10, 07:44 AM
I have some code that can be used to populate an email message with javascript (http://www.candsdesign.co.uk/articles/code/javascript/send-email/), however it will raise browser security alerts and/or may be blocked by some configurations.

secoff22
13th July 10, 07:56 AM
Can you humor me and possibly write what I should put into my existing code? I again appreciate the help but I'm fairly inexperienced in this.

Phreaddee
25th October 10, 11:37 AM
put the div inside the body tag for a start
<html>
<head></head>
<body>
<div>
</div>
</body>
</html>

ChrisML123
31st October 10, 01:20 PM
yeh, its pretty glitched. lose the <br> tags after </body>