Hey! Ich habe das Problem dass CSS nicht in HTML eingebunden wird. Beide Dateien (index.html und style.css) befinden sich im gleichen Ordner.
Folgendes steht in index.html:
<!DOCTYPE html>
<html>
<head>
<link rel=stylesheet" href="style.css" type="test/css">
</head>
<body>
<div id="wrapper">
<header>Das ist die Kopfzeile</header>
<section>Das ist der MainContent</section>
<aside>Das ist die Sidebar</aside>
<footer>Das ist die Fusszeile</footer>
</div>
</body>
</html>
Folgendes steht in Style.css
#wrapper {
width: 960px;
margin-right: auto;
margin-left: auto;
}
header {
height: 150px;
background: red;
}
section {
width: 650px;
height: 550px;
float: left;
background: green;
}
aside {
width: 310px;
height: 550px;
float: right;
background: blue;
}
footer {
height: 50px;
clear: both;
background: orange;
}
Kann mir jemand sagen wo der Fehler liegt? Danke im Vorraus - Jakob