aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/thumbnails-fix-ie5-ie6.css
blob: 9f12c797e3b6498adda113e6472883be42046feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* $Id: $ */
/* fix IE with another layout for thumbnails */
#content UL.thumbnails SPAN.wrap2 {
  display: block;
  position: relative;
  text-align: left;
}
#content UL.thumbnails SPAN.wrap2 A,
#content UL.thumbnails SPAN.wrap2 LABEL {
  overflow: visible;
  position: absolute;
  top: 50%;
  text-align: center;
}
#content UL.thumbnails IMG.thumbnail {
  position: relative;
  top: -50%;
  /*\*//*/
    margin-top: -40%;
  /**/
}
#content UL.thumbnails SPAN.wrap2 input {
  position: absolute;
  left: 0;
  top: -50%;  /* same as other browsers but not so pretty */
}