Hallo Leute,
ich habe eine Seite erstellt die im Firefox, Safari & IE gut aussieht.
im IE 7 sind die DIVs jedoch irgendwie nach unten verschoben.
Weiss jemand warum?
Gibt es da einen allgemeinen "Kniff" um den Fehler zu beheben?
Bin für jeden Tip dankbar! :)
Hier die CSS:
ich habe eine Seite erstellt die im Firefox, Safari & IE gut aussieht.
im IE 7 sind die DIVs jedoch irgendwie nach unten verschoben.
Weiss jemand warum?
Gibt es da einen allgemeinen "Kniff" um den Fehler zu beheben?
Bin für jeden Tip dankbar! :)
Hier die CSS:
Code:
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header,
hgroup, menu, nav, section, menu,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
*/
body { font:13px sans-serif; *font-size:small; *font:x-small; line-height:1.22; overflow:hidden;}
a:hover, a:active { outline: none; }
a, a:active, a:visited { color:#607890; }
a:hover { color:#036; }
ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }
small { font-size:85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {
padding: 15px;
white-space: pre; /* CSS2 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}
/*- */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
/* These selection declarations have to be separate.. */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }
/* always force a scrollbar in non-IE */
html { overflow: hidden; }
/* make buttons play nice in IE: */
button { width: auto; overflow: visible; }
/* bicubic resizing for non-native sized IMG */
.ie7 img { -ms-interpolation-mode: bicubic; }
#top_strip{
height:4px;
background:#9ca34e;
position:fixed;
width:100%;
top:0;
display:block;
z-index: 100000;
}
#footer_centered{
margin:0px auto;
height:36px;
width:100%;
background:#9ca34e;
position:fixed;
bottom:0;
z-index: 99999;
padding-bottom:16px;
text-align:center;
}
#containeralles{
position: absolute;
left: 50%;
width: 1920x;
height: 11500px;
margin: 0 0 0 -960px;
}
#container1{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_01.jpg);
background-repeat:no-repeat;
}
#container2{
margin:0 auto;
width:1920px;
height:1269px;
background-image:url(../images/bg_02.jpg);
background-repeat:no-repeat;
z-index:205;
}
#container3{
margin:0 auto;
width:1920px;
height:1267px;
background-image:url(../images/bg_03.jpg);
background-repeat:no-repeat;
}
#container4{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_04.jpg);
background-repeat:no-repeat;
}
#container5{
margin:0 auto;
width:1920px;
height:1271px;
background-image:url(../images/bg_05.jpg);
background-repeat:no-repeat;
}
#container6{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_06.jpg);
background-repeat:no-repeat;
}
#container7{
margin:0 auto;
width:1920px;
height:1261px;
background-image:url(../images/bg_07.jpg);
background-repeat:no-repeat;
}
#container8{
margin:0 auto;
width:1920px;
height:1278px;
background-image:url(../images/bg_08.jpg);
background-repeat:no-repeat;
}
#container9{
margin:0 auto;
width:1920px;
height:1320px;
background-image:url(../images/bg_09.jpg);
background-repeat:no-repeat;
}
#container{
margin:0 auto;
width:960px;
}
#section_header{
float:left;
width:10%;
margin: 66px 0 0 33px;
position:fixed;
}
#menue_unten {
height: 19px;
width: 320px;
position: inherit;
float:right;
}
#topmenue {
margin:0 auto;
width:960px;
}
#container1inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:160px;
z-index:1;
}
#container2inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:210px;
z-index:200;
}
#container3inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:270px;
z-index:2;
}
#container4inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:380px;
z-index:2;
}
#container5inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:300px;
z-index:2;
}
#container6inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:270px;
z-index:2;
}
#container7inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:400px;
z-index:2;
}
#container8inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 840px;
position:relative;
margin:0 auto;
top:430px;
z-index:2;
}
#container9inhalt {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
height: 450px;
width: 870px;
position:relative;
margin:0 auto;
top:550px;
z-index:2;
}
#c1_head {
height: 90px;
width: 660px;
margin-top: 0px;
padding-left:50px;
}
#c1_content {
height: 255px;
width: 660px;
margin-top: 5px;
z-index:4;
padding-left:235px;
}
#c1_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c2_head {
height: 90px;
width: 660px;
margin-top: 0px;
padding-left:50px;
}
#c2_content {
height: 260px;
width: 660px;
margin-top: 0px;
padding-left:235px;
padding-top:0px;
}
#c2_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c3_head {
height: 85px;
width: 660px;
margin-top: 0px;
z-index:3;
padding-left:120px;
}
#c3_content {
height: 265px;
width: 660px;
margin-top: 0px;
padding-left:235px;
padding-top:0px;
}
#c3_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c4_head {
height: 90px;
width: 660px;
margin-top: 0px;
padding-left:120px;
}
#c4_content {
height: 230px;
width: 660px;
margin-top: 0px;
padding-left:280px;
padding-top:30px;
}
#c4_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c5_head {
height: 90px;
width: 660px;
margin-top: 0px;
padding-left:120px;
}
#c5_content {
height: 260px;
width: 660px;
margin-top: 0px;
padding-left:240px;
padding-top:0px;
}
#c5_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c6_head {
height: 60px;
width: 660px;
margin-top: 0px;
padding-left:130px;
}
#c6_content {
height: 315px;
width: 660px;
margin-top: 0px;
padding-left:260px;
}
#c6_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c7_head {
height: 66px;
width: 660px;
margin-top: 0px;
padding-left:120px;
}
#c7_content {
height: 270px;
width: 660px;
margin-top: 0px;
padding-left:260px;
padding-top:15px;
}
#c7_footer {
height: 25px;
width: 840px;
}
#c8_head {
height: 90px;
width: 660px;
margin-top: 0px;
padding-left:120px;
}
#c8_content {
height: 250px;
width: 660px;
margin-top: 0px;
padding-left:260px;
padding-top:10px;
}
#c8_footer {
height: 25px;
width: 840px;
z-index:5;
}
#c9_head {
height: 38px;
width: 660px;
margin-top: 0px;
padding-left:120px;
}
#c9_content {
height: 390px;
width: 700px;
margin-top: 10px;
z-index:4;
padding-left:285px;
}
#c9_footer {
height: 25px;
width: 840px;
z-index:5;
}
#pfeile {
height: 450px;
width: 48px;
float:right;
}
#pfeiloben {
height: 68px;
width: 48px;
margin-top: 0px;
}
#pfeilunten {
height: 68px;
width: 48px;
padding-top:187px;
}
#anker0 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:0px;
}
#anker1 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:0px;
}
#anker2 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:45px;
}
#anker3 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:105px;
}
#anker4 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:215px;
}
#anker5 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:135px;
}
#anker6 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:130px;
}
#anker7 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:235px;
}
#anker8 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:265px;
}
#anker9 {
height: 50px;
width: 50px;
z-index: 300;
position:absolute;
margin-top:475px;
}