[英]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.