分类:前端实现-CSS 的日志列表

20061/12

IE令人发指的Bug之一

Published by nowa 18:17:03 十二月 01th,2006 in 前端实现-CSS.
最近一直在优化项目的页面。IE7已经70%的和FF在渲染和解释上类似了,这让我颇为欣喜。想想人也真容易满足,m$这5年磨出的一个玩意,到这个程度上我竟然就有些满意了。也怪m$不争气,在我刚刚这样想的时候,它就来了一个在IE6时代就存在的问题,把我折腾个半死。
Quotes
<ul>
<li>nav1</li>
<li>nav2</li>
<li>nav3</li>
</ul>

我这样做了一个Tab样式的导航,在FF下完美显示,可是到了IE下(IE5.01~IE7),除了最后一个Tab,前面的每个Tab的背景在往右超出了Border大约5px。我很郁闷,针对I

点击阅读...

IE  bug  令人发指  

已被阅读191次 7 Comments 0 Trackbacks

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  

已被阅读297次 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  选择器  

已被阅读207次 1 Comments 0 Trackbacks