aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/fix-ie5-ie6.css
blob: e78b0bda44a72f517dd2b2a3a63563b8e0d46177 (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
50
51
52
53
54
/* $Id$ */
/* Issues in IE from 5 to 6 only not to be used with IE7                      */

/* fix lack of :hover behaviour for non link objects */
BODY {
  behavior:url("template-common/csshover.htc");
}

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

/* to get less hugly checkboxes at least in tagSelection */
UL.tagSelection LI INPUT,
#content UL.thumbnails SPAN.wrap2 input {
  border: none;
  background-color: transparent;
}

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

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