【发布时间】:2013-08-01 01:21:17
【问题描述】:
我的表单没有被提交。它是在 Photoshop 中设计的,后来被编码。但如果我删除<div class="form3 clear fix">,这将有效。但这会抛出布局。任何帮助表示赞赏。
表格图片:http://postimg.org/image/j4h64gv59/
<form action="http://www.mywebsite.com/cgi-bin/cgiemail/special/hot.txt" method="post" name="form3" class="form3-form">
<div class="form3 clearfix">
<img class=" to_get_started_call_us_or" src="images/to_get_started_call_us_or.png" alt="To Get Started Call Us, or We’ll Call You!" width="183" height="43" title="To Get Started Call Us, or We’ll Call You!" />
<img class=" line" src="images/line.png" alt="" width="132" height="2" />
<input name="name" type="text" id="name" placeholder="Name" />
<input name="email" type="text" id="email" placeholder="Email Address" />
<input name="phone" type="text" id="phone" placeholder="Phone" />
<input class="submit" type="submit" name="submit" alt="" value="" />
<img class=" or_call_1-800-800-8000" src="images/or_call_1-800-800-8000.png" alt="or call 1-800-800-8000" width="165" height="44" title="or call 1-800-800-8000" />
<div class="white_bar-holder">
<a href="#" class=" cbbb-badge-horz"><img src="images/cbbb-badge-horz.png" alt="" width="86" height="33" /></a>
</div>
</div>
</form>
【问题讨论】:
-
乍一看,该表单应该可以工作。是否可以在其中一个文本框具有焦点时按 Enter 提交表单?
-
你能显示定义
.form3的css吗? -
我很好奇一个人如何将数据发布到 .txt 文件中......我本来希望 php 或 asp 或 jsp 或可以执行脚本的东西