Erstelle eine Datei
style.css und schreibe dort deine CSS Angaben rein.
Code:
#rahmen {
position: absolute;
left: 0;
top: 0;
width: 800px;
height: 600px;
background-image:url('kram/gross/images/hintegrund.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
z-index: 1
}
#banner {
position: absolute
left: 0;
top: 0;
width: 800px;
height: 110px;
z-index: 2
}
#links {
position: absolute;
left: 0;
top: 110;
width: 200px;
height: 600px;
z-index: 3
}
#mitte {
position: absolute;
left: 200;
top: 110;
width: 400px;
height: 600px;
overflow:scroll;
overflow-x:hidden;
background-image: url('kram/gross/images/schrifthintergrung.gif');
z-index: 4
}
#rechts {
position: absolute;
left: 600;
top: 110;
width: 200px;
height: 600px;
z-index: 5
} Nun bindest du diese Datei in den Header deiner HTML-Seiten ein.
HTML-Code:
<link rel="stylesheet" type="text/css" href="http://www.deineseite.de/style.css" />
Fertig =).
Übrigens funktioniert deine Variante nicht, weil du den Style-Tag nicht geschlossen hast (</style>).