aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/fix-ie5-ie6.css
blob: 7574363b3ec0cc3e9cd2ee8130a41d03abb0f765 (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
44
45
46
47
48
49
/* $Id$ */
/* 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%;
  /**/
}
.content UL.thumbnails INPUT {
  position: absolute;
  left: 2px;
  top: 2px;  /* same as other browsers but not so pretty */
}


/* 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 */
}