好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

怎么样设置只让网页两边的空白部分加上背景_html/css_WEB-ITnose

怎么样设置只让网页两边的空白部分加上背景,中间的背景颜色不变。


回复讨论(解决方案)

描述不够详细啊..是这个意思不:

  	 		 		 HTML 		 		 		 		body{			background-image: url("http://HdhCmsTestzastavki测试数据/pictures/1280x1024/2008/Photoshop_Wolf_005239_.jpg") ;			background-repeat: repeat-x;		}		div{			height:100%;width:800px;border-left: 1px solid #000;border-right: 1px solid #000;position: absolute;background-color:#ddd;left:25%;		}		 	  

查看更多关于怎么样设置只让网页两边的空白部分加上背景_html/css_WEB-ITnose的详细内容...

  阅读:28次