Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css IE将镜像图像显示为内容之前/之后_Css_Internet Explorer - Fatal编程技术网

Css IE将镜像图像显示为内容之前/之后

Css IE将镜像图像显示为内容之前/之后,css,internet-explorer,Css,Internet Explorer,仅IE显示镜像的img.png图像。为什么?我如何处理它而不创建专门针对IE的镜像 正文{ 方向:rtl; } 李:以前{ 内容:url(/img/img.png); } 小提琴:嗯,问题解决了:我必须在之前将方向:ltr标尺设置为li:才能正确 body { direction: rtl; } li:before { content: url(/img/img.png); direction: ltr; } 好吧,问题解决了:我必须在之前把方向:ltr标尺设置为li:才能正

仅IE显示镜像的img.png图像。为什么?我如何处理它而不创建专门针对IE的镜像

正文{
方向:rtl;
}
李:以前{
内容:url(/img/img.png);
}

小提琴:

嗯,问题解决了:我必须在之前将方向:ltr标尺设置为li:才能正确

body {
    direction: rtl;
}
li:before {
  content: url(/img/img.png);
  direction: ltr;
}

好吧,问题解决了:我必须在之前把方向:ltr标尺设置为li:才能正确

body {
    direction: rtl;
}
li:before {
  content: url(/img/img.png);
  direction: ltr;
}

你能做个演示吗?嗯,我把dir:ltr标尺添加到了li:before,它就工作了。无论如何谢谢你@不要忘记,你可以在48小时内添加自己的答案并接受它。这意味着,如果有人有同样的问题,你可以关闭你的问题并获得一些投票。你能做一个演示吗?嗯,我把dir:ltr标尺添加到了li:before,它就工作了。无论如何谢谢你@不要忘记,你可以在48小时内添加自己的答案并接受它。这意味着如果有人有同样的问题,你可以关闭你的问题,并获得一些投票