Google

星期一, 四月 28, 2008

关于IE下实现min-height跟max-height的方法

comment_edit.pngmin-height最简单的方法是用表格来设计:

favorite.gif











comment_edit.png在此基础上增加 min-width 效果
(测试请改变 id=”wh” 层的 height 和 width 值)
favorite.gif











comment_edit.png而对于max-height的设计就要难多了!下面是采用js的方法达到的!
max-height 在 IE6.0 的实现的具体思想是想办法获得可变层的高,宽,样式中使用expression()得到外层的高,宽。代码如下:(测试请改变 id=”wh” 层的 height 和 width 值)
favorite.gif







comment_edit.png不过上面的这种方法采用js的expression,涉及js的计算,对cpu的有一定的占用,不宜采用!建议采用其它方法!(此地以后添加!)

http://www.evetian.cn/?p=22

标签: ,

星期四, 四月 17, 2008

Dean Edwards, CSS2 for IE5,6

IE7 loads and parses all style sheets into a form that Explorer can understand. You can then use most CSS2/CSS3 selectors without having to resort to CSS hacks.

The lightweight script is a single-line inclusion in your HTML/XML document. No alteration of your original markup is necessary. Neither do you have to alter your CSS.

IE7 provides Microsoft Internet Explorer with support for W3C standard CSS and HTML:

  • supports the following CSS selectors:
    • namespace|selector
    • parent > child
    • adjacent + sibling
    • adjacent ~ sibling
    • [attr], [attr="value"], [attr~="value"] etc
    • .multiple.classes (fixes bug)
    • :hover, :active, :focus (for all elements)
    • :first-child, :last-child, only-child, nth-child, nth-last-child
    • :check, :disabled, :enabled
    • :root, :empty, :contains(), :not()
    • :before/:after/content:
    • :lang()
  • works with both HTML and XML documents
  • supports imported style sheets
  • preserves the cascade of the style sheet
  • does not alter the document structure
  • does not repeatedly query the DOM tree using JavaScript
  • uses pure CSS to enforce style sheet rules
  • supports the W3C box model in both standards and quirks mode
  • supports fixed positioning (flicker free)
  • supports overflow:visible
  • supports min/max-width/height
  • fixes broken (X)HTML elements (abbr, object)
  • standardies forms behavior
  • supports PNG alpha transparency
  • lightweight script (22K)
  • completely modular (add/remove fixes)
  • works for Microsoft Internet Explorer 5+ (Windows only)
http://dean.edwards.name/IE7/overview/

让Windows版本的IE5, IE6利用所有CSS2的选择器,以及来自尚未完成的CSS 3标准的许多先进器。Edward的IE7脚本让你使用选择器:before, :after, :first-child。。。。

标签: , , ,

星期一, 四月 14, 2008

微软称IE 8将推动网页开发人员技术创新

微软本星期在拉斯维加斯举行的MIX08会议上预展了其下一代网络浏览器.微软首席软件设计师Ray Ozzie称,微软向IE 8的投资将使开发人员和设计师能够为网络应用程序、丰富的客户端软件、移动和其它设备提供广泛的无缝的连接的体验.微软IE团队总经理Dean Hachamovitch表示,IE 8将向网页开发人员提供的功能是他们需要的内置的工具,以帮助减少提供互联网内容的难题和复杂性。

Hachamovitch说,开发人员要做的事情是提供迷人的体验.但是,开发人员要实现这个目的需要花费许多宝贵的时间.当开发人员把更多的时间用于技术创新的时候,网页会变得更好.我们研制IE 8的时候就考虑了这个问题。

微软目前提供的IE 8测试版下载主要是面向开发人员的.开发人员将向微软提供重要的反馈意见.Hachamovitch说,这里的关键是我们现在只完成了部分工作,还有需要工作要做。

Hachamovitch说,IE 8的一个目标是让开发人员迅速制作多种浏览器可以访问的网站.目前浏览器的差别让开发人员浪费了许多时间.微软将采用一些标准以实现互联网兼容性的目标。

IE 8的功能改善了对XML和CSS等标准的支持.IE 8在一个可视化的环境中还提供了快速调试HTML、CSS和JavaScript等程序的工具。

Hachamovitch还披露了IE 8的两项技术创新.这两项技术创新的名称是“Activities”和“Webslices”,能够提高浏览器用户的网络浏览体验。
http://www.onlea.com/blog/article.asp?id=102

标签:

IE8 测试版

IE8

http://www.microsoft.com/downloads/details.aspx?FamilyId=1A2E3DDD-B38B-439D-BBA7-F179A5D3ECAF&displaylang=zh-cn

标签:

辽ICP备05003652号
流风洄雪听天籁,轻云蔽日看落花

Powered by Blogger