Hey you all,
Can anyone tell me why this code doesn't work ?
Code:<html> <head> <script language="JavaScript" type="text/JavaScript"> function clearDefault(el) { if (el.defaultValue==el.value) el.value = "" } </script> </head> <body background="bgpalet.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="80%" height="100%" border="0" cellpadding="0" cellspacing="0" align=right> <tr><td align="center" valign="middle"> <table border="0" width=100% align=right> <tr><td width="120" valign="middle"> </td><td valign="middle" align="right"> <FORM NAME="form1" METHOD="post" ACTION="contact.php"> <table width="100%" valign="top" align=center> <tr><td> <table width=100%> <tr><td align=left> <INPUT TYPE=TEXT NAME="name" VALUE="your name" onFocus="clearDefault(this)" style="border:1px solid #666666; width:190px"> </td></tr> <tr><td align=left> <INPUT TYPE=TEXT NAME="email" VALUE="your e-mail" onFocus="clearDefault(this)" style="border:1px solid #666666; width:190px"> </td></tr></table> </td><td width=20>  </td><td align=left valign=middle> <INPUT TYPE="image" src="emailgo.jpg" NAME="submit" VALUE="go" style="border: 0px"> </td></tr></table> <table width="100%" valign="top" align=center> <tr><td align=right> <TEXTAREA NAME="message" style="border:1px solid #666666; width:265px; height:120px"> </TEXTAREA> </td></tr></table> </FORM> </td></tr></table> </td></tr></table> </body> </html>



Reply With Quote


Except in Mike's case (and a handful of others...) Who have probably forgotten more than you and I will ever know.. back off the insults and just answer the questions needed to get the help you want.

Bookmarks