瀏覽代碼

Fix info div blocks config menu.

Daosheng Mu 10 年之前
父節點
當前提交
96a5ed5097
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/webgl_postprocessing_ssao.html

+ 3 - 3
examples/webgl_postprocessing_ssao.html

@@ -28,12 +28,12 @@ Spiral sampling http://web.archive.org/web/20120421191837/http://www.cgafaq.info
 
 
 			#info {
 			#info {
 				color:#fff;
 				color:#fff;
-				position: absolute;
+				position: relative;
 				top: 0px;
 				top: 0px;
-				width: 100%;
+				width: 40em;
+				margin: 0 auto -1.86em;
 				padding: 5px;
 				padding: 5px;
 				z-index:100;
 				z-index:100;
-				text-align: center;
 			}
 			}
 		</style>
 		</style>
 	</head>
 	</head>