我正在寻找使此 CSS 在 IE6 中适用于最新版本的最佳方法。
body:first-child *
{
margin-top:0 !important;
}
body:last-child *
{
margin-bottom:0 !important;
}
那么应该怎么做呢?
此 CSS 加载到 CKEDITOR 中。
提前致谢!
最佳答案
我不知道上下文,但我不确定这是最好的方法。 *
应谨慎使用,如果您要添加 !important
则一定有问题...
你为什么不给这些元素一个类和样式来避免 IE6 的麻烦?
关于css - 使特定 CSS 代码在 IE6 中适用于最新版本的 IE 的最佳方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9696593/