tag: ie7 的日志列表

200628/11

MSDN中IE7对CSS支持的说明

Published by bugx 19:19:17 十一月 28th,2006 in 前端实现-CSS.

以下内容摘自MSDN

Cascading Style Sheet Compatibility in Internet Explorer 7

Markus Mielke
Dave Massy
Microsoft Corporation

January 31, 2006

Updated July 7, 2006

Introduction

Internet Explorer 7 contains a number of improvements to cascading style sheet (CSS) parsing and rendering over IE6. These improvements are aimed at improving the consistency of how Internet Explorer interprets cascading style sheets as recommended by the W3C in order that developers have a reliable set of functionality on which to rely.

In some cases a few of these changes may have the effect of making existing content render in ways that are not compatible with IE6. This is often seen with elements moving to a different area of the page or overlapping content when viewed in IE7. These issues are most common on content that is using particular CSS constructs (often know as "hacks" or filters) to work around bugs that existed under the strict mode in IE6. In this article we'll discuss why pages might be broken due to updated CSS support and the best ways to address the issues that result from it.


点击阅读...

IE7,CSS  

已被阅读347次 1 Comments 0 Trackbacks

200621/11

IE7对css选择器的改进

Published by nowa 16:31:58 十一月 21th,2006 in 前端实现-CSS.
今天稍稍看了一下IE7对css选择器的改进,出乎我的想象,竟然修复了大部分bug。

1、对伪类的支持。IE6和更低的版本对于伪类的支持仅限于a标签,诸如“:hover”、“:active”、“:focus”之类的伪类理论上是应该适用于所有元素的,但是IE6和更低版本抛弃了它们。这次IE7有选择地支持了“:hover”。

Quotes
div:hover {
    background-color: #B7B7B7;
}


诸位可以试试。

2、对子选择器的支持。现在在IE7里你可以使用如下的定义:

点击阅读...

css  ie7  选择器  

已被阅读215次 1 Comments 0 Trackbacks