I've found some references to bugs or issues in IE's interpretation of CSS, but the information seems rather scattered. I'd like to have a pointer to a comprehensive overview, if such an overview exists.
edit: it's already something that Microsoft is willing to list IE's CSS problems (thanks mouviciel->sanchothefat), but they're not going to offer workarounds, obviously. So workarounds would be nice too.
Thanks
Check out Quirks Mode . It is a great resource for CSS compatibility across browsers.
I find the best policy to avoid pain is to follow these rules:
Follow those rules I don't have as many problems in the first place.
Me, I use the " Internet Explorer Exposed ". Very in-depth resource.
I find myself constantly referring to this page:
http://www.webcredible.co.uk/user-friendly-resources/css/internet-explorer.shtml
您可以通过查阅此SO问题找到一些答案。
For dropdownlists:
<select>
<option value="1">1</option>
...
<option value="N">N</option>
</select>
CSS border styles do not work:
If you'll try:
select
{
border: solid 1px #0000ff;
}
nothing will happen.
Also a submit button will expand its width proportionally to the button text, until you give it the style:
input[type="submit"]
{
overflow:visible;
}
As well as many other funny things. :)
I swear by PositionIsEverything .
They maintain a list of bugs/oddities in most browsers. Check out their exhaustive list of Internet Explorer bugs , I hope you find it comprehensive enough.
quirksmode已经发布了,但我将添加On有布局 ,这解释了IE的许多奇怪的原因之一。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.