Browse Source

Merge pull request #6873 from daoshengmu/SSAO

Fix info element blocks config menu in SSAO demo
Ricardo Cabello 10 years ago
parent
commit
73d27538cf
1 changed files with 3 additions and 3 deletions
  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>