问题 - 正文中的背景图像(IE8) [英] Problem - Background Image in Body (IE8)
本文介绍了问题 - 正文中的背景图像(IE8)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Body.Image中的背景图片中有问题不应该重复。
它支持IE9,IE10。工作在IE9,IE10中很好。
body { margin : 0px; background : url(../ images / body_bg.jpg)no-repeat;
background-大小 : 100%; }
但不在 IE8中工作(问题 IE8 -body背景 image )
谢谢朋友......
解决方案
使用此链接放大图片大小
http: // www.picturecorrect.com/tips/how-to-increase-the-size-of-a-photo /
之后实现此 css代码。
body {
background:url(../ images / body5_bg.png);
max-width:100%;
身高:汽车;
宽度:继承;
}
工作正常
I Have problem in Background Image in Body.Image should not repeat.
It support in IE9,IE10.Working Well in IE9,IE10.
body {margin:0px; background:url(../images/body_bg.jpg) no-repeat;
background-size: 100%; }
But not working in IE8( Problem in IE8 -body Background image)
Thanks Friends...
解决方案
Enlarge image size by using this link
http://www.picturecorrect.com/tips/how-to-increase-the-size-of-a-photo/ After that implement this css code. body { background:url(../images/body5_bg.png); max-width: 100%; height: auto; width: inherit; }
It work's correctly
这篇关于问题 - 正文中的背景图像(IE8)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文