aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/fix-ie5-ie6.css
blob: fdeb977fd9db4b10e03d2231bf6280a9e845ca41 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* $Id: /piwigo/trunk/template/yoga/fix-ie5-ie6.css 6488 2008-10-03T23:48:03.552613Z rvelices  $ */
/* Issues in IE from 5 to 6 only not to be used with IE7 */

/* 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 SPAN {
  overflow: visible;
  position: absolute;
  top: 50%;
  text-align: center;
}

.content UL.thumbnails IMG.thumbnail {
  position: relative;
  top: -50%;
  /*\*//*/
    margin-top: -40%;
  /**/
}

/* to avoid vanishing objects in IE6 */
H1, #theHeader {
  width: 100%;	/* <- useless but seems to make IE6 happy */
}
.content {
  height: 1em;	/* for IE6 it's like min-height */
}

/* fix category thumbnails on main page */
.content UL.thumbnailCategories {
  width: 99%;	/* buggy IE box model */
}


/* fix quickconnect layout */
FORM#quickconnect FIELDSET {
  width: 99%;	/* correct an ugly 1 or 2 px misalignement with IE */
}