Hallo Danke für die Antwort! Ich habe es mit div fixed gemacht aber beim ie funktioniert das scrollen nicht :-/ er scrollt mir dann nur den content und er soll aber die ganze seite an sich scrollen also das der scroller im grossen fenster ist. bei firefox läuft es optimal :-/ da noch ne idee? (kann mimr auch jmd sagen wieso mein schwarzer bg nicht komplett über den content geht? wenn ich den content scrolle fehlt der bg :-( also meine 100%tige höhe nimmt er nicht an. (s.code)
hier mal mein kompletter css code
|
Cascading Style Sheets
|
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
body { margin:0px;
color:#FFFFFF;
background-image:url(pix/bg_kreativ.jpg);
padding:0 0 105px 0;
font-family:Verdana;
height:100%;}
#container { position: absolute;
width: 1000px;
height:100%;
top: 20px;
left: 50%;
margin-left: -500px;
background-color:#000000;}
#main-navi-top { position:absolute;
margin-top:20px;
margin-left:25px;
display:inline;
height:45px;
}
#headerbereich { position:absolute;
margin:45px 0 0 0px;
height:200px;
width:1000px;
background-image:url(pix/head_kreativ.jpg);
background-position:right;
background-repeat:no-repeat;
border-bottom:1px solid #ff6c00;
border-top:1px solid #ff6c00;
}
#main-navi-gruppe { position:absolute;
margin:35px 0px 0px 20px;
display:inline;}
#headline { position:absolute;
margin-left:25px;
margin-top:140px;
width:340px;
height:50px;
background-image:url(pix/h_krea.gif);
background-repeat:no-repeat;
font-size:11px;
line-height:17px;
}
#content { position:absolute;
margin:350px 25px 0px 25px;
height:500px;
text-align: justify;
font-family:Verdana;
font-size:11px;
line-height:16px;
left: -1px;
top: -28px;
}
#spalte1 {float:left; width:300px; margin-right:25px;}
#spalte2 {float:left; width:300px; margin-right:25px;}
#spalte3 {float:left; width:300px;}
div#footer { position:absolute;
bottom:0;
left:0;
width:100%;
height:59px;
background-image:url(pix/bottom_bg.gif);
}
@media screen{ body>div#footer{ position: fixed; } }
* html body { overflow:hidden; }
* html div#content{ height:100%; overflow:auto; }
/*
LINK
*/
a { font-family:Verdana;
font-size:11px;
font-weight:bold;
color:#e1dbd6;
text-decoration:none;
margin-right:30px;}
a:hover { color:#FF6600;}
a.topmenue { font-family:Verdana;
font-size:11px;
font-weight:bold;
text-transform:uppercase;
color:#e1dbd6;
text-decoration:none;
margin-right:30px; /*border:1px solid red;*/ }
a.topmenue:hover { color:#000000; background-color: #ff6c00;}
img {border:none; margin-right:-30px}
.subnavi { position:absolute;
margin-top:210px;
margin-left:25px;
}
|