炽炎之羽

沧浪之水浊兮

  • Home
  • About
  • Twitter
  • Links

Posts Tagged ‘ IE ’

FF与IE在CSS中的差异

  • September 8th, 2008
  • Posted in 学习笔记

1 针对firefox ie6 ie7的css样式 现在大部分都是用!important来hack,对于ie6和firefox测试可以正常显示,但是ie7对!important可以正确解释,会导致页面没按要求显示!找到一个针对IE7不错的hack方式就是使用“*+html”,现在用IE7浏览一下,应该没有问题了。 现在写一个CSS可以这样: #1 { color: #333; } /* Moz */ * html #1 { color: #666; } /* IE6 */ *+html #1 { color: #999; } /* IE7 */ 那么在firefox下字体颜色显示为#333,IE6下字体颜色显示为#666,IE7下字体颜色显示为#999。[ READ MORE ]

IE与Firefox对width的不同解释及解决办法

  • August 19th, 2008
  • Posted in 学习笔记

图片中:CSS 'width' 指的是标准CSS中所指的width的宽度,在firefox,opera等中的宽度就是这个宽度。它只包含容器中内容的宽度。 而Internet Explorer 'width'则是指整个容器的宽度,包括内容,padding ,border。 所谓的CSS的宽度的加法减法就指这里不同浏览器对width解析得到的不同结果。[ READ MORE ]

Information

Change this sentence and title from admin Theme option page.
RSS FEED

Recent entry

  • 2010-02-11
  • 虎年祝福
  • 2009-11-15
  • 论语·泰伯
  • 2009-11-15
  • 忧郁星期天
  • 2009-11-10
  • 无毛猫
  • 2009-10-26
  • 九月九日忆山东兄弟

Archive

  • February 2010
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • December 2008
  • November 2008

Category

  • 天下杂侃
  • 学习笔记
  • 宗教哲学
  • 心情随笔
  • © 2010  Zhi.Yu
  • Theme by mono-lab
  • Powerd by WordPress