在本文中,您将会了解到关于InternetExplorer9中的渐变的新资讯,同时我们还将为您解释web渐变的相关在本文中,我们将带你探索InternetExplorer9中的渐变的奥秘,分析web渐
在本文中,您将会了解到关于Internet Explorer 9中的渐变的新资讯,同时我们还将为您解释web渐变的相关在本文中,我们将带你探索Internet Explorer 9中的渐变的奥秘,分析web渐变的特点,并给出一些关于asp.net – Internet Explorer 9中的URL查询字符串值的UTF-8字符编码问题、asp.net – Internet Explorer中的图像加载超时、azure – Windows XP中Internet Explorer 8中的证书错误、c# – 禁用Internet Explorer控件中的上下文菜单的实用技巧。
本文目录一览:- Internet Explorer 9中的渐变(web渐变)
- asp.net – Internet Explorer 9中的URL查询字符串值的UTF-8字符编码问题
- asp.net – Internet Explorer中的图像加载超时
- azure – Windows XP中Internet Explorer 8中的证书错误
- c# – 禁用Internet Explorer控件中的上下文菜单
Internet Explorer 9中的渐变(web渐变)
有谁知道IE9中渐变的供应商前缀,还是我们仍然应该使用他们的专有过滤器?
我为其他浏览器提供的是:
background-image: -moz-linear-gradient(top, #444444, #999999); /* FF3.6 */background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #444444),color-stop(1, #999999)); /* Saf4+, Chrome */filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=''#444444'', EndColorStr=''#999999''); /* IE6,IE7 */-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=''#444444'', EndColorStr=''#999999'')"; /* IE8 */
另外,有人知道Opera的供应商前缀吗?
答案1
小编典典从IE9 beta 1开始,您仍然需要使用其专有的过滤器。
asp.net – Internet Explorer 9中的URL查询字符串值的UTF-8字符编码问题
例如,我正在使用的URL看起来像这样:
http://mysite.com/TestPage.aspx?Title=Hochauflösendes®
我也尝试过URL编码版本的URL:
http://mysite.com/TestPage.aspx?Title=Hochaufl%C3%B6sendes%C2%AE
在任一情况下,当我尝试使用Request.QueryString [“Title”]在我的页面上显示“Title”查询字符串值时,IE不会正确显示字符:
Hochaufl�sendes�
如果我直接在页面上直接编码文本,则会在所有浏览器上正确显示.只有当它从问题发生的查询字符串中拉出时.
该页面保存为UTF-8编码,并且我的页面中有必要的元标记:
<Meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
我也通过fiddler查看了页面的标题和内容,所有的编码都是正确的.
可能导致IE不能正确显示特殊字符?
解决方法
要从RawUrl中检索实际的查询字符串值,可以使用这样一个简单的方法:
private string GetQueryStringValueFromrawUrl(string queryStringKey) { var currentUri = new Uri(HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.RawUrl); var queryStringCollection = HttpUtility.ParseQueryString((currentUri).Query); return queryStringCollection.Get(queryStringKey); }
使用此方法检索值已在IE8和IE9中工作.在IE10中修复了错误.
asp.net – Internet Explorer中的图像加载超时
解决方法
有很多方法可以做到这一点,但这是一个简单的例子,我把它组合在一起并进行测试.而不是这个:
<img src="image001.jpg" /> <img src="image002.jpg" /> <img src="image003.jpg" /> <img src="image004.jpg" /> <!-- Etc etc etc -->
你可以这样做:
<div id="imgsGoHere"> </div> <script type="text/javascript"> function crossbrowserEventAttach(objectRef,eventName,functionRef) { try { objectRef.addEventListener(eventName,functionRef,false); } catch(err) { try { objectRef.attachEvent("on" + eventName,functionRef); } catch(err2) { // event attachment Failed } } } function addImagetoPage() { var newImageElement = document.createElement("img"); newImageElement.src = imageArray[nextimageNumber]; var targetElement = document.getElementById("imgsGoHere"); targetElement.appendChild(newImageElement); nextimageNumber++; if (nextimageNumber < imageArray.length) { crossbrowserEventAttach(newImageElement,"load",addImagetoPage); crossbrowserEventAttach(newImageElement,"error",addImagetoPage); } } var nextimageNumber = 0; var imageArray = new Array(); imageArray[imageArray.length] = "image001.jpg"; imageArray[imageArray.length] = "image002.jpg"; imageArray[imageArray.length] = "image003.jpg"; // . // . // . // Snip hundreds of rows // . // . // . imageArray[imageArray.length] = "image999.jpg"; addImagetoPage(); </script>
只有在上一个图像加载(或无法加载)后,每个图像才会添加到页面中.如果您的浏览器超时,我认为这将解决它.
当然,问题可能实际上不是超时,而是你的内存/系统资源不足而IE正在放弃.或者可能存在像Sra所说的IE DOM限制.
azure – Windows XP中Internet Explorer 8中的证书错误
我们的应用程序托管在Azure网站的专用实例中,并具有GeoTrust颁发的EV证书.证书在所有浏览器上都能正常运行,但在Windows XP上运行的Internet Explorer 8除外.我们收到以下警告:
本网站提供的安全证书是针对不同网站的地址发布的.
当我去查看证书时,我只能通过MSIT Machine Auth CS 2看到* .azurewebsites.net的证书问题.
我们在上一个问题中找到了有关此问题的更多信息:IE8 SSL Cert Problems while other browsers work like a charm
解决方案是删除IIS上的SNI配置,但我们不能在azure网站上执行此操作.我们能做什么?
解决方法
获得一个专门的实例应该可以解决您的问题,虽然我没有测试过专用的azure网站是否获得了它独特的IP,所以您可能想自己尝试一下.
更新:将证书上传到标准模式azure网站时,您似乎可以indeed choose not to use SNI.
c# – 禁用Internet Explorer控件中的上下文菜单
解决方法
Webbrowser browser; browser.IsWebbrowserContextMenuEnabled = false;
这几乎告诉Webbrowser不欢迎右键单击上下文菜单.
今天关于Internet Explorer 9中的渐变和web渐变的介绍到此结束,谢谢您的阅读,有关asp.net – Internet Explorer 9中的URL查询字符串值的UTF-8字符编码问题、asp.net – Internet Explorer中的图像加载超时、azure – Windows XP中Internet Explorer 8中的证书错误、c# – 禁用Internet Explorer控件中的上下文菜单等更多相关知识的信息可以在本站进行查询。
本文标签: