Press "Enter" to skip to content

终于搞定了IE6下的显示

之前就有博友跟我说, 我的blog在IE6下页面乱了.
一直懒得弄, 今天有点时间, 打算调整下.
找了半天, 罪魁祸首原来是我给pre设置的左边框, 具体原因我还不知道.. 有知道同学, 指点我一下... hack以后,,就好了:

pre {
 border-left: 15px corlor solid;
_border-left:none; //可恶的IE6
}

每当这个时候, 我就会忠心的感谢发现这些css Hack的先驱们....

15 Comments

  1. Daily youth
    Daily youth January 9, 2020

    Nice post you shared with us.
    “dailyouth” stands for to give you latest information whatever about daily news, trending fashion and many more. Through this website we would like to inform you also about how to live healthy life as well as harmful effect of our daily unhealthy food and good life style.

  2. P.R Management
    P.R Management August 2, 2018

    our Company is the best in P.R Management using Images, Videos, and stories. we have the
    connection with more than 10000 Blogger and Outreach managers to Provides you the
    best promotion and exposer.
    P.R Management

  3. Sign in Pogo
    Sign in Pogo March 10, 2018

    Thanks for sharing this marvelous post. I m very pleased to read this article.Sign in pogo

  4. 社长
    社长 October 23, 2010

    的确是啊,一个 “_” 完美的区别了ie6和其他的浏览器,博主果然精通。
    验证码:micro

  5. Anonymous
    Anonymous October 14, 2010

    比较好的hack方式,还可以过css验证:
    pre {
    border-left:15px color solid !important;
    border-left:none;
    }

  6. 加盟网
    加盟网 September 27, 2010

    过来看看了

  7. Mr.Z
    Mr.Z September 6, 2010

    浏览器兼容
    IE8:无 IE7:* iE6:_

  8. 久益视界
    久益视界 August 31, 2010

    CSS前段时间学习了下,不过还是不能布局,嘿嘿

  9. 最有效的减肥产品
    最有效的减肥产品 August 22, 2010

    最近有个网站一直有排版错位的问题,很是头疼。听朋友说是分辨率问题,但在IE6以上的其他浏览器都显示正常。搞的很郁闷。网站是表格做的。。

  10. CFC4N
    CFC4N July 25, 2010

    鸟哥还精通CSS,膜拜。
    验证码:Dan

Comments are closed.