{lang: 'de'}
Flashhilfe.de - Flash Community

Absolute Positionierung im IE6 nicht sichtbar

 


AntwortenRegistrieren Seite1  

pat_and_nobody#1
Benutzerbild von pat_and_nobody
Beiträge: 478
Registriert: Aug 2007

24.04.2011, 23:53

Also ich verwende für die Platzierung/Positionierung eines Suchfeldes über dem Content
position: absolute

IE7, IE8, IE9 und Firefox sowie Safari und Opera wird der DIV-Container mit dem Suchfeld richtig angezeigt. Nur im IE6 gibts ein Problem. Der DIV-Container wird nicht angezeigt. Hab jetzt eine Stunde herumprobiert. Leider ohne erfolg.

Vielleicht kann mir jemand helfen. Ich bin sehr dankbar!

Link zum Template:
http://tinyurl.com/44lbtw5

Hier das .css
#srch_hol_cont macht Probleme

PHP:
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
img {border:0; }
body {
    margin: 0;
    padding: 0;
}
a:link {
    text-decoration: underline;
    color: #666;
    font-weight: normal;
}
a:visited {
    text-decoration: underline;
    color: #666;
    font-weight: normal;
}
a:hover {
    text-decoration: none;
    color: #666;
    font-weight: normal;
}
a:active {
    text-decoration: underline;
    color: #666;
    font-weight: normal;
}
#wrapper_head {
    float:left;
    width:100%;
    height:105px;
    background-image: url(../../img/bg_header.jpg);
    background-repeat: repeat-x;
}
#wrapper_main {
    float:left;
    width:100%;
    background-image: url(../../img/bg_grey.jpg);
    background-repeat: repeat;
}
#main_hol {
    float:left;
    width:100%;
    background-image: url(../../img/bg_main_op.jpg);
    background-repeat:repeat-x;
}
#main_cont {
    float:left;
    width:1000px;
/*    height: 500px;*/
    padding-left:50%;
    margin-left:-490px;
}
#wrapper_footer {
    float:left;
    width:100%;
    height: 100px;
    background-image: url(../../img/footer_bg.jpg);
    background-repeat:repeat-x;
    background-position: left 10px;
    padding-top:10px;
}
#footer_cont {
    float:left;
    width:980px;
    height:100px;
    background-image: url(../../img/footer_bgp.jpg);
    background-repeat:no-repeat;
    background-position: right top;
    padding-left:50%;
    margin-left:-490px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #999;
    line-height: 1.5em;
    padding-top:60px;
}
#footer_cont a:link {
    text-decoration: underline;
    color: #666;
    font-weight: normal;
}
#footer_cont a:visited {
    text-decoration: underline;
    color: #666;
    font-weight: normal;
}
#footer_cont a:hover {
    text-decoration: none;
    color: #666;
    font-weight: normal;
}
#footer_cont a:active {
    text-decoration: underline;
    color: #666;
    font-weight: normal;
}
#header_cont {
    float:left;
    width:980px;
    height:105px;
    padding-left:50%;
    margin-left:-490px;
}
#header_cont p {
    margin:0px;
    padding:0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #666;
    margin-top:15px;
    font-weight: normal;
}
#header_cont p strong {
    margin:0px;
    padding:0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #666;
    margin-top:15px;
    font-weight: normal;
}
#logo {
    position: absolute;
    width:229px;
    height:60px;
    background-image: url(../../img/logo.jpg);
    background-repeat: no-repeat;
    text-indent: -99999px;
    overflow: hidden;
    left:50%;
    margin-left:261px;
    top:25px;
}
#logo a:link {
    width:229px;
    height:60px;
    display:block;
}
#logo a:visited {
    width:229px;
    height:60px;
    display:block;
}
#logo a:hover {
    width:229px;
    height:60px;
    display:block;
}
#logo a:active {
    width:229px;
    height:60px;
    display:block;
}
#srch_hol_cont {
    position:absolute;
    width:980px;
    height:40px;
    left:50%;
    margin-left:-490px;
    top:125px;
    z-index: 998;
    background-color: aqua;
}
#srch_hol {
    float:right;
    width:230px;
    height:40px;
    background-image: url(../../img/bg_srch_hol.jpg);
    /*margin-left:-230px;
    left:50%;
    top:125px;
    margin-left: 260px;
    z-index: 99999;*/
}
.srch_field {
    float:left;
    width:174px;
    height:24px;
    background-color: transparent;
    background-image: url(../../img/bg_srch_field.png);
    background-repeat: no-repeat;
    border:0px;
    outline:none;
    padding-right:34px;
    padding-left:5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 24px;
    color: #999;
    margin-left:9px;
    margin-top:8px;
}
springer#2
Benutzerbild von springer
Beiträge: 4909
Wohnort: zuhaus
Registriert: Apr 2004

25.04.2011, 13:31