如何在div中设置不同屏幕分辨率的背景图像?

I am developing a webpage in which I am setting background with help of div but my problem is that when the resolution of screen changes the image does not fit properly , it shows blank space on both side of screens on large screens. Is there a way with which I can make a standard case which shall run for all screens .

This is how I am setting my div

mheaderimgs {
width:1007px;
margin:auto auto;
height:auto;
}
查看全部
doutan2228
doutan2228
2012/09/27 13:54
  • css
  • php
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

4个回复