我有两个缩略图img,每个在'ul'下'ul'但堆叠在彼此的顶部而不是两个在一个卷,并排。以下是HTML结构:两个缩略图img堆叠在彼此,而不是列在使用UL LI的列卷上,请帮忙
,下面将我的CSS样式:
#printGallery ul { list-style: none; position: fixed; }
#printGallery ul li { display:inline; }
#printGallery ul img {
border: 2px solid #afd2e2;
border-width: 2px 2px 8px;
margin-top: 90px;
margin-left: 190px;
}
#printGallery ul a:hover img {
border: 2px solid #c7c8c9;
border-width: 2px 2px 8px;
color: #fff;
}
#printGallery ul a:hover { color: #c7c8c9; }
我一直在使用浮动权,甚至加入“printGallery UL IMG IMG”只是移动其它缩略图,但试过什么都没发生。请帮忙。