Hoi,
Ik ben bezig met CSS, en nu ben ik tegen een probleem aan gelopen waar ik de oplossing even niet zie. Het gaat om het volgende, het werkt wel in FF maar niet in IE.
De margin-top van een div wilt hij niet pakken.
Waar het om gaat: http://www.joeybuys.nl/tmp/coppens/test.html
Bekijk hem maar eens in FF (zo moet hij er uit zien) en in IE.
De CSS code:
Alvast vriendelijk bedankt.
Ik ben bezig met CSS, en nu ben ik tegen een probleem aan gelopen waar ik de oplossing even niet zie. Het gaat om het volgende, het werkt wel in FF maar niet in IE.
De margin-top van een div wilt hij niet pakken.
Waar het om gaat: http://www.joeybuys.nl/tmp/coppens/test.html
Bekijk hem maar eens in FF (zo moet hij er uit zien) en in IE.
De CSS code:
code:
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
| body{
background: #002926;
color: #333333;
margin-top:20px;
font-family: Verdana;
font-size: 10px;
text-align:justify;
}
a { text-decoration: none;
border-bottom: 1px dashed #FFFFFF;
color: #0099FF; }
a:hover { text-decoration: none;
color: #0099FF;
font-size: 11px; }
a:visited { text-decoration: none;
color: #0099FF; }
a:active { text-decoration: none;
color: #0099FF }
div.header{
position: absolute;
top: 20px;
left:20px;
width: 300px;
height: 20px;
background: #002926;
color: #FFFFFF;
margin: 0;
padding: 10px;
}
div.menu{
position: absolute;
top: 50px;
left:20px;
width: 300px;
background: #000000;
color: #FFFFFF;
margin: 0;
padding: 10px;
}
div.rcol{
position: absolute;
top: 20px;
background: #ffffff;
width: 280px;
color: #333333;
margin: 0;
padding: 10px;
margin-left: 330px;
}
div.lcol{
margin-top: 65px;
width: 300px;
background: #002926;
color: #FFFFFF;
padding: 10px;
}
div.container {
position: relative;
height: 100%;
width: 624px;
margin: 0 auto;
padding:20px 20px 20px 20px;
border-style:solid;
border-color:black;
border-width:1px;
line-height:15px;
background-color:#E35929;
} |
Alvast vriendelijk bedankt.