为什么我的css选择器在IE中转换为大写 [英] Why my css selector gets converted to upper case in IE

查看:176
本文介绍了为什么我的css选择器在IE中转换为大写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有如下的css档案

/*mycss.css*/
body {
margin: 0px; padding: 0px; 
}
a:link {
color: rgb(255, 255, 255); font-weight: normal; text-decoration: underline;
}
a:visited {
color: rgb(255, 255, 255); font-weight: normal; text-decoration: underline;
}
a:active {
color: rgb(255, 255, 255); text-decoration: none;
}
a:hover {
color: rgb(255, 255, 255); text-decoration: none;
}

我已经正确地链接到我的PHP文件,并在 firefox,chrome 但是当我在 Internet explorer 中打开它css看起来像下面所有我的css选择器转换为大写



i have correctly linked this in my php file and works fine in firefox,chrome but when i open it in Internet explorer my css looks like following all my css selectors are converted to upper case

 /*mycss.css*/
BODY{
margin: 0px; padding: 0px; 
}
A:link {
color: rgb(255, 255, 255); font-weight: normal; text-decoration: underline;
}
A:visited {
color: rgb(255, 255, 255); font-weight: normal; text-decoration: underline;
}
A:active {
color: rgb(255, 255, 255); text-decoration: none;
}
A:hover {
color: rgb(255, 255, 255); text-decoration: none;
}


推荐答案

CSS选择器。

它没有任何区别。

这篇关于为什么我的css选择器在IE中转换为大写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆