#myGallery img{
	border: 1px solid #aaa;
	padding: 1px;
}
#myGallery {
	display: block;
}
.folder{

	border: 2px solid #246;
	background-color: #579;
	width: 160px;
	height: 120px;
	margin-top: 22px;
	margin-bottom: 5px;
}

.thumbx {
	width: 166px;
	height: 190px;
	float: left;
	text-align: center;
}
#myGallery > div table{
	display: inline;
}
div.thumb{
	float:left;
}
#myGallery > div {
	width: 166px;
	height: 190px;
	display: inline;
	text-align: center;
}
#myGallery > div th{
	width: 164px;
	height: 164px;
}