hey leute, ich habe das problem, eine webseite erstellt zu haben, die der Firefox anzeigt wie gewünscht, jedoch der Internetexplorer wiederum ganz anders.
Woran kann das liegen, was kann ich machen????
hier sind die ansichten:
http://www.bilder-hochladen.net/files/c0js-2-jpg.html
http://www.bilder-hochladen.net/files/c0js-1-jpg.html
hier ist der Code:
Code:
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Adaptive Regelsysteme GmbH</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Website description" />
<meta name="keywords" content="keyword1,keyword2,keyword2,keyword4" />
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/*<![CDATA[*/
body.c2 {background-image: url(bilder/blau3.jpg); background-position: center; background-repeat: no-repeat;}
iframe.c1 {background-color:transparent}
/*]]>*/
</style>
</head>
<body class="c2">
<div id="contact"><a href="contact.html" target="iframe1">Contact</a></div>
<div id="title">ARS</div>
<div id="slogan">Adaptive Regelsysteme GmbH</div>
<div id="header">
<ul id="nav">
<li><a href="home.html" target="iframe1">Home</a></li>
<li><a href="Services.html" target="iframe1">Services</a></li>
<li><a href="products.html" target="iframe1">Products</a></li>
<li><a href="company.html" target="iframe1">Company</a></li>
<li><a href="map.html" target="iframe1">Map</a></li>
</ul>
</div>
<iframe name="iframe1" src="home.html" width="500" frameborder="0" class="c1" height="600" scrolling="no" id="iframe1">Ihr Browser unterst?tzt Inlineframes nicht oder zeigt sie in der derzeitigen Konfiguration nicht an.</iframe>
<div id="sidecontent">
<h2>News</h2>
<p><a href="News1.html" target="iframe1">News1</a></p>
<p><a href="News2.html" target="iframe1">News2</a></p>
<p><a href="News3.html" target="iframe1">News3</a></p>
<h2>Notes</h2>
<ul>
<li>Marginal note that explains something.</li>
</ul>
<h2>Links</h2>
<p><a href="http://www.techno-z.at/">Techno-Z Salzburg</a></p>
<p><a href="#">Related link 2</a></p>
</div>
<div id="footer">
<div id="copyrightdesign">Copyright © 2009 ARS | <a href="http://ars-systems.at/">ARS Adaptive Regelsysteme GmbH</a></div>
<div id="footercontact"><a href="contact.html" target="iframe1">Contact</a></div>
</div>
</body>
</html>
Alles anzeigen
und hier das CSS file:
Code
* {
padding:0;
margin:0;
}
body {
color: #333333;
background-color:transparent;
font-family:Arial, sans-serif;
font-size:86%;
margin:20px auto;
width:760px;
padding-left:10px;
padding-right:10px;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl,
fieldset, address { margin:0.75em 0;}
h1 {font-size:167%;}
h2 {font-size:139%;}
h3 {font-size:120%;}
h4 {font-size:100%;}
li, dd {
margin-left:2em;
}
a {
color: #FFFFFF;
background-color: transparent;
font-weight: normal;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
background-color: transparent;
font-weight: normal;
text-decoration: underline;
}
#contact {
padding:0px 0px 0px 0px;
display:inline;
float:right;
}
#contact a {
color: #FFFFFF;
background-color:transparent;
font-weight:bold;
text-decoration:none;
}
#contact a:hover {
color: #FFFFFF;
background-color:transparent;
text-decoration:underline;
}
#header {
clear:both;
}
#title {
clear:both;
color: #FFFFFF;
background-color:transparent;
font-size:300%;
font-weight:bold;
padding:0px 40px 0px 0px;
margin-bottom:10px;
display:inline;
float:left;
}
#slogan {
color:#000000;
background-color:transparent;
font-size:medium;
font-weight:bold;
font-style:normal;
padding:20px 0px 0px 20px;
display:inline;
float:left;
margin:0px 0px 10px 0px;
}
ul#nav {
clear:both;
float:left;
margin: 0;
padding: 0;
list-style: none;
text-align: center;
width:100%;
display:inline;
border-left: #111111 solid thin;
border-right: #111111 solid thin;
}
ul#nav li {
margin: 0;
padding: 0;
float: left;
width: 20%;
display:inline;
border-top: #111111 solid thin;
border-bottom: #111111 solid thin;
}
ul#nav li a {
display: block;
font-size: small;
color: #000000;
font-weight: bold;
text-decoration: none;
background: #FFFFFF;
}
ul#nav li a:hover { background: #000000; color: #FFFFFF; }
ul#nav a.selected:link { background: #000000; color: #FFFFFF; }
ul#nav a.selected:visited { background: #000000; color: #FFFFFF; }
#path {
width:760px;
clear:both;
float:left;
display:inline;
font-size:83%;
font-weight:normal;
margin:4px 0px 5px 0px;
}
#path a {
font-weight:normal;
}
#maincontent {
display:inline;
font-size:100%;
padding:0px 5px 5px 0px;
margin:0px 0px 0px 0px;
width:500px;
float:left;
}
#sidecontent {
color: #333333;
background-color:#FFFFFF;
font-size:83%;
padding:10px 15px 5px 15px;
margin:10px 0px 0px 0px;
width:185px;
float:right;
border-width:1px;
border-style:solid;
border-color:#000000;
display:inline;
}
#sidecontent a {
color: blue;
background-color:transparent;
}
#footer {
color:#000000;
background-color:#FFFFFF;
border-top:1px solid #CCCCCC;
font-size:80%;
line-height:1.5em;
clear:both;
}
#footer a {
color:#FFFFFF;
background-color:transparent;
text-decoration: none;
}
#footer a:hover {
color:#FFFFFF;
background-color:transparent;
font-weight: normal;
text-decoration: underline;
}
#copyrightdesign {
color:#000000;
background-color:transparent;
padding:5px 20px 5px 0px;
width: 580px;
float:left;
display:inline;
}
#footercontact {
color:#FFFFFF;
background-color:transparent;
padding:5px 0px 5px 0px;
float:right;
display:inline;
}
Alles anzeigen
könnte mir jemand es so umschreiben dass es auch im IE6 gut aussieht, die HP muss heute noch fertig werden, und ich kenn mich nicht sehr gut aus......