简体   繁体   English

Internet Explorer 9显示的按钮与IE10,Firefox和Safari等不同

[英]Internet Explorer 9 Displaying buttons differently than IE10, Firefox & Safari ect

im having some trouble with my website 我在我的网站上遇到了麻烦

<a href="#" class="button">read more</a></div>

This code displays a rounded blue button: 此代码显示一个圆形的蓝色按钮:

picture of what it looks like : http://i.stack.imgur.com/NQR5r.png 它的外观图片: http : //i.stack.imgur.com/NQR5r.png

I cant seem to figure out why. 我似乎不知道为什么。 i moved my website pages (for example contact.html about.html ) to individual folders and named them all index.html so when the URL loads it doesnt show www.websitename.com/contact.html, it now shows www.websitename.com/contact. 我将我的网站页面(例如contact.html about.html)移到了单独的文件夹,并将它们全部命名为index.html,因此在加载URL时,它不显示www.websitename.com/contact.html,现在显示的是www.websitename。 com / contact。 but ever since, the below issue is happening. 但是从那以后,下面的问题就发生了。 everything else is fine, all other things load fine, just this specific button. 其他一切都很好,其他所有东西都很好,只是这个特定的按钮。

This is the CSS behind the button: 这是按钮后面的CSS:

.text .button {
    display:inline-block;
    font-size:30px;
    font-weight:700;
    color:#fff;
    line-height:53px;
    padding:0 37px;
    background:url(../images/button_bg.gif) top repeat-x #308da2;
    border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    behavior:url(../js/PIE.htc);
    position:relative;
    text-decoration:none;
}

your help would be much appreciated. 您的帮助将不胜感激。 thanks 谢谢

please insert demo or jsfiddle.net link, in this way we will have access to your resources. 请插入demo或jsfiddle.net链接,这样我们就可以访问您的资源。 but have you inserted this code? 但是您是否插入了此代码?

<meta http-equiv="X-UA-Compatible" content="IE=edge"> 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 javascript脚本可在Firefox,Chrome,Safari,Internet Explorer &lt;9,而不是IE 9中运行 - javascript script works in Firefox, Chrome, Safari, Internet Explorer < 9, but not in IE 9 Internet Explorer前置要以不同的方式显示 - Internet Explorer prependTo displaying differently Chrome显示的加载gif与Safari和Firefox不同 - Chrome displaying loading gif differently than Safari and Firefox 如何定位大于或等于IE 10的Internet Explorer版本 - How to target Internet explorer versions greater than or equal to IE 10 jQuery Bootstrap在Firefox中有效,但在IE10中无效 - jQuery Bootstrap works in Firefox but not IE10 Google Web字体不在OSX Safari中显示,但在Firefox,Chrome,Opera(用于OSX,Windows和Linux)和Internet Explorer中显示 - Google Web Fonts not displaying in OSX Safari but do display in Firefox, Chrome, Opera (for OSX, Windows, and Linux) and Internet Explorer 嵌入可在Firefox和Safari中使用,但不能在Internet Explorer 8中使用 - Embed works in Firefox and Safari, but not in Internet Explorer 8 变形按钮概念在Internet Explorer IE 9中不起作用 - Morphing buttons concept not working in internet explorer IE 9 IE10/Safari 无法隐藏 iFrame 内的对象/Flash - IE10/Safari Cannot Hide an Object/Flash inside of iFrame __proto__适用于Internet Explorer IE 10的解决方法 - __proto__ workaround for Internet Explorer IE 10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM