css底部背景

来源:百度知道 编辑:UC知道 时间:2024/09/20 23:38:46
为什么图片老是接不上?图片:637*32#main{ width:1000px!important; background-image:url(http://hiphotos.baidu.com/%D1%A9%BB%AA%E7%B2/pic/item/55a011da1ca56d44d0164e83.jpeg
); background-repeat: no-repeat; background-position: center bottom; padding: 0px 0px 1px 0px!important; margin-right: 0px; margin-left: 0px; margin-top:-30px!important;margin-bottom:-60px!important; }/*底部背景*/ 如果你会,顺路告诉我不同大小的图片则要怎么改
底部背景跟中间背景接不上

在你的图片后面加入这段话:background-position:0PX 0PX;修改0PX 0PX这两个数值,以达到左右上下的间距,调节几次就可以了-----------------------------------#main{ width:1000px!important; background-image:url(



); background-repeat: no-repeat; background-position: center bottom; padding: 0px 0px 1px 0px!important; margin-right: 0px; margin-left: 0px; margin-top:-30px!important;margin-bottom:-60px!important; background-position:0PX 0PX;}有疑问请hi。。