【问题标题】:Classic ASP form not working in Opera, Chrome, or Firefox (but does in IE)经典 ASP 表单在 Opera、Chrome 或 Firefox 中不起作用(但在 IE 中起作用)
【发布时间】:2012-11-29 19:17:17
【问题描述】:

我正在使用一个经典的 ASP 站点并且遇到了一个难题...我的表单在 IE 中完美运行,但在 Chrome、Opera 和 Firefox 中我无法单击表单中的任何内容 - 我可以t 键入甚至让光标显示在输入字段中,链接不可点击,按钮也不可点击。鼠标指针甚至不会在任何这些元素的鼠标悬停时改变。

文档类型是 HTML 4.01 Strict,我已经使用 W3 验证器对其进行了验证。页面页眉和页脚中的链接可以正常点击。

<form name="esi" method="post" action="employeehome.asp">
<p>
    <label for="empid" class="achtung">Employee ID:</label><br>
    <input type="text" name="empid" size="20" maxlength="30">
</p>
<p>
    <label for="emppw" class="achtung">Password:</label><br>
    <input type="password" name="emppw" size="20" maxlength="20"><br>
    <a href="emppwrecovery.asp" class="txtfsz10">Password Recovery</a>
</p>
<p>
    <input type="hidden" name="empstatus" value="1">
</p>
<p class="submitbuttonspace">
    <input type="submit" value="Sign In">
</p>
</form>

【问题讨论】:

  • 你能在 jsfiddle 上复制这个吗?
  • 特别添加您在该页面中的任何 css 或 js
  • 我在页面中没有任何 javascript(我也不确定 jsfiddle 是什么!抱歉)。在我记得表单嵌套在一个 div 中之后,我确实检查了 css ......我拿出了 float: left ,就成功了。我不知道这会以这种方式影响表单...感谢您的 css 建议!

标签: forms firefox google-chrome asp-classic opera


【解决方案1】:

这个表单示例没有任何问题。我刚刚在我的服务器上测试了它。没有错误,也没有什么可以禁用任何东西。

你的浏览器一定是有别的东西崩溃了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-03-10
    • 1970-01-01
    • 1970-01-01
    • 2011-05-03
    • 1970-01-01
    • 1970-01-01
    • 2014-08-28
    • 2010-10-15
    相关资源
    最近更新 更多