Hallo,
ich versuche gerade ein Design mit css umtzusetzen. Im FF sieht es ganz gut aus, aber im IE zerhaut es mir.
FF:
IE:
mein stylesheet so aus:
und noch die index:
Kann mir bitte jmd helfen, und sagen wo sich der Fehler für IE befindet?
Vielen Dank
mfg
ottscho
ich versuche gerade ein Design mit css umtzusetzen. Im FF sieht es ganz gut aus, aber im IE zerhaut es mir.
FF:
IE:
mein stylesheet so aus:
Code:
body {
background-position:top center;
color:#010000;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
margin-top:50px;
}
#big {
background-color: #c1c1c1;
margin:0 auto;
width:670px;
height:480px;
}
#image {
background-image: url(images/bild.jpg);
margin:0;
padding:0;
width: 60px;
height: 480px;
float: left;
border: solid 1px #FFFFFF;
}
#header {
background-image: url(images/header.jpg);
width: 608px;
height: 60px;
margin-left: 60px;
border-top: solid 1px #000000;
border-right: solid 1px #000000;
}
#inlay {
width:608px;
height:390px;
margin-left: 60px;
border-right: solid 1px #000000;
border-bottom: solid 1px #000000;
}
#content {
background-color: #D5D5D5;
width: 568px;
height: 350px;
border: solid 1px #FFFFFF;
margin-top: 18px;
margin-left: 18px;
float:left;
}
li {
display:block;
list-style-type:none;
margin:0;
padding:0;
}
ul {
display:block;
list-style-type:none;
padding:0;
margin:12px 0px 0px 18px;
float:left;
}
#topbuttons {
vertical-align: middle;
width: 608px;
height: 30px;
margin-left: 60px;
border-right: solid 1px #000000;
}
#topbuttons li.style1{
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-bottom:1px solid #ffffff;
float:left;
height:16px;
text-align:center;
width:113px;
}
#topbuttons li.style2{
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-right:1px solid #ffffff;
border-bottom:1px solid #ffffff;
float:left;
height:16px;
text-align:center;
width:113px;
}
und noch die index:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"https://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" media="screen" href="style.css">
<title>{$title}</title>
</head>
<body>
<div id="big">
<div id="image">
</div>
<div id="header">
</div>
<div id="topbuttons">
<ul>
<li class="style1">Unternehmen</li>
<li class="style1">Leistungen</li>
<li class="style1">Immobilien</li>
<li class="style1">Kontakt</li>
<li class="style2">Impressum</li>
</ul>
</div>
<div id="inlay">
<div id="content">
</div>
</div>
</div>
</body>
</html>
Vielen Dank
mfg
ottscho