如何制作之前:和之后:和盒子大小:ie7中的边框工作

时间:2014-01-10 00:43:53

标签: css internet-explorer-7 twitter-bootstrap-3

我有一个使用twitter bootstrap 3构建的网站,该网站适用于IE7以外的所有浏览器。

它不会读取before:after:box-sizing: border-box等伪类。

无论如何我可以让IE7读取这段代码吗?

1 个答案:

答案 0 :(得分:0)

http://ie7-js.googlecode.com/svn/test/index.html

IE7.js 支持以下属性

Property    Comments    Test
background-attachment   support fixed positioning   html
background-image    PNG alpha transparency (IE5.5+) html
bottom  height implied if top is supplied   html
cursor  support pointer for IE5.x   html
display convert list-item to block for IE5.x    
font-size   fix named font sizes (IE5.x)    html
margin  support auto (IE5.x)    html
max-height      html
max-width       html
min-height  implemented for IE5 html
min-width       html
overflow    support overflow:visible    html
position    support fixed positioning   html
right   width implied if left is supplied   html

IE8.js 支持以下内容:

Selector    Comments    Test
::after     html
::before        html
:active     html
:focus      html
:lang()     html
CSS Properties

Property    Comments    Test
border-spacing  HTML tables only    html
box-sizing  content-box (assumed)   html
content Supports the use of attr() and url()    html
property: inherit   Support for inherited property values   html