internet-explorer-9

IE9 + RichFaces Rendering problem

久未见 提交于 2019-12-17 14:07:44
问题 I have a web app which runs on JSF 2.0 + Richfaces 3.3.3. Looks great on all browsers except IE9. In IE9 without compatibility mode (With, no problem) it looks something like this (ignore blacked out text): Notice how all the components are framed and CSS is ignored (Not seen?) The JSP looks like this (Only relevant stuff): <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;

Ordered list showing all zeros in IE9

ε祈祈猫儿з 提交于 2019-12-17 10:54:06
问题 I have an <ol> (ordered list) and in FF, Safari, Chrome it is rendered correctly. However in IE9 it is showing all zeros. It is not a spacing/padding issue because I am able to see the zeros. My HTML is as follows: <ol> <li>Enter basic company information</li> <li>Select from our portfolio of products</li> <li>Attach your employee census</li> <li>Review your selections and submit your request.</li> </ol> Anyone run into that problem and hopefully a solution? 回答1: Update 3/20/2012 - Fixed in

The File API isn't working in IE9

五迷三道 提交于 2019-12-17 10:06:10
问题 I'm trying to get the file size and file type from an input field from my form using jQuery. I thought it was working however apparently not in IE 9. Any insight would be greatly appreciated var my_field = this.files[0]; var myInteger = parseInt(my_field.size); var myType = my_field.type; 回答1: Im trying to get the file size and file type from an input field... That requires the File API, which isn't supported by IE9. (And note that size is already a number [on browsers that support the File

local storage in IE9 fails when the website is accessed directly from the file system

孤人 提交于 2019-12-17 07:42:36
问题 Both statements window['localStorage'] and window.localStorage are undefined when accessing the url "file:///C:/index.html" Is localStorage off limits when running websites on the filesystem? PS. I'm running the website on a Windows 7 phone hosting the website in isolatedStorage. 回答1: Yeah, IE9 doesn't support localStorage for local files. Not in any official documentation that I can find, but the same issue is described in this blog. You'll have to either host the website externally, or find

How can I make SmartScreen Filter trust a self-signed certificate

吃可爱长大的小学妹 提交于 2019-12-17 07:15:16
问题 Microsoft's SmartScreen Filter under Windows 8 is a small developer's worst nightmare. While I realize the benefits to end users and the effectiveness at stopping malicious programs from installing themselves on end users' computers, I and many other developers would rather not pay the fees for annual renewal of a Code Signing Certificate or, even worse, an EV Code Signing Certificate. Also, when products developed for use in-house are signed with a trusted certificate from an internal CA,

How can I make SmartScreen Filter trust a self-signed certificate

青春壹個敷衍的年華 提交于 2019-12-17 07:15:09
问题 Microsoft's SmartScreen Filter under Windows 8 is a small developer's worst nightmare. While I realize the benefits to end users and the effectiveness at stopping malicious programs from installing themselves on end users' computers, I and many other developers would rather not pay the fees for annual renewal of a Code Signing Certificate or, even worse, an EV Code Signing Certificate. Also, when products developed for use in-house are signed with a trusted certificate from an internal CA,

Background-size with SVG squished in IE9-10

坚强是说给别人听的谎言 提交于 2019-12-17 07:13:12
问题 I have a div set with a background image: <div>Play Video</div> with the following CSS: div { background-image: url('icon.png'); background-image: url('icon.svg'), none; background-size: 40px 40px; background-repeat: no-repeat; background-position: 90% 50%; padding: 20px; width: 150px; } The background size is respected in Firefox, Safari and Chrome. In IE8, the SVG is replaced by the PNG file. However, in IE9 and IE10, the SVG file is drastically sized down. The problem seems to be linked to

Does IE9 support CSS linear gradients?

那年仲夏 提交于 2019-12-17 06:37:36
问题 With Chrome/Safari and Firefox there's the -webkit-gradient and -moz-linear-gradient properties. How can I do this same sort of thing with IE9? 回答1: Well, IE9 is not done yet, but so far it looks like you're going to have to use SVG. I'm not aware of any -ms-gradient or gradient support in IE9. The other thing that's missing so far that I'm annoyed about is text-shadow. http://css3wizardry.com/2010/10/29/css-gradients-for-ie9/ 回答2: The best cross-browser solution is background: #fff;

How to set HTML content into an iframe

时光总嘲笑我的痴心妄想 提交于 2019-12-17 06:36:29
问题 I have a HTML string <html> <body>Hello world</body> </html> and I want to set it to an iframe with JavaScript. I am trying to set the HTML like this: contentWindow.document.body.innerHTML or contentDocument.body.innerHTML or document.body.innerHTML but IE gives "Access is denied." or "Object does not support this property or method." or "Invalid final element to the action." errors. Here is my full code: <!DOCTYPE html> <html> <head> <script type="text/javascript" src="jquery_1.7.0.min.js"/>

HTML5 - mp4 video does not play in IE9

感情迁移 提交于 2019-12-17 04:29:08
问题 I have an mp4 video that I want to play in IE9 using HTML5 <video> tag. I added the MIME type to IIS 7 so if I browse http://localhost/video.mp4 it plays in both Chrome and IE9 but not in HTML5, Chrome plays the video in HTML though. Here's the code: <html> <body> <video src="video.mp4" width="400" height="300" preload controls> </video> </body> </html> Any ideas? Thanks UPDATE: Tried the same file in Firefox 5.0 and it didn't work either, only Chrome is able to play the mp4 video. 回答1: for