【发布时间】:2016-09-29 08:08:35
【问题描述】:
我的表单输入 type="button" /form 在 IE 11 中不起作用。按钮的目的是返回历史记录中的一页。 它在谷歌浏览器中工作。 我在网上看到 IE 在实现 HTML5 时遇到了一些问题,但我还没有找到解决方案。
不仅按钮的 JS 部分不起作用,因为 IE11 中的悬停也没有显示。
Fiddle 中的代码:https://jsfiddle.net/Luj5sqh7/3/
<!DOCTYPE html>
<html>
<head>
<title>Stabiliteit Houtribdijk</title>
<style type="text/css" media="screen">
</style>
<div class="header">
<div class="headerleft">
<form>
<input type="button" class="button" value="Terug" onclick="history.go(-1);return true;">
</form>
</div>
<div class="headerright">
<H4>Stabiliteit dijk animatie </H4>
</div>
<!-- <div class="headerlogo">
<img src="images/Rhdhvlogo.jpg" id="rhdhvlogo"/>
</div>-->
</div>
</head>
<body>
<video onclick="this.paused?this.play():this.pause()" class="videocenter" controls>
<source src="movie/STABILITEITTotaal.mp4" type="video/mp4">
<source src="movie/STABILITEITTotaal.ogg" type="video/ogg"> Your browser does not support the video tag.
</video>
【问题讨论】:
-
你的整个标记是错误的。如果这是你实际写的
标签: html google-chrome internet-explorer internet-explorer-11