好得很程序员自学网

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

用margin:0auto;居中的div为什么上下都有间距?设置margin:0px;都不行_htm

  	 		 		 show2 		 		 		 			body{			}			.alignCenter{				margin: 10px auto;				width: 950px;							}		 	 	 								 		._head{width: 100%; float: left}		a{display:inline-block;margin-left: 20px;text-align: center;font-family:"Arial" "黑体";color: white;}		.nv_logo{width: 950px;height: 128px;}		.logo{width: 246px;height: 128px;float: left}		.nv{width: 704px;height: 30px;padding-top: 98px;background-image: url(src/nv.png);background-repeat: no-repeat;float: left;background-position: -10px 80px;text-align: center;}		 		

查看更多关于用margin:0auto;居中的div为什么上下都有间距?设置margin:0px;都不行_htm的详细内容...

  阅读:32次