Css 如何在IE6,7中使用:before:after?

Css 如何在IE6,7中使用:before:after?,css,internet-explorer-7,css-selectors,internet-explorer-6,Css,Internet Explorer 7,Css Selectors,Internet Explorer 6,css代码如下所示: div.quote:before { content: 'before'; } div.quote:after { content: 'after'; } 不幸的是,它不适用于IE6和IE7。我怎样才能解决它?也许是用表达式?你可以看看 IE7和IE7中的:before和:after以及内容都不支持css选择器和属性 虽然IE6在2012年1月被微软正式标记为不推荐使用,但您可能会使用IE6获得类似的效果。类似于:我可以知道您删除重复链接的原因吗?

css代码如下所示:

div.quote:before {
  content: 'before';
}
div.quote:after { 
  content: 'after'; 
}
不幸的是,它不适用于IE6和IE7。我怎样才能解决它?也许是用表达式?

你可以看看

IE7和IE7中的:before和:after以及内容都不支持css选择器和属性


虽然IE6在2012年1月被微软正式标记为不推荐使用,但您可能会使用IE6获得类似的效果。类似于:我可以知道您删除重复链接的原因吗?