arakanGa
Gebruiker
- Lid geworden
- 7 jul 2006
- Berichten
- 162
Beste,
Nochtans heb ik het volgende ingesteld:
<html>
<head>
<title>Oefening</title>
<style type="text/css">
body{
background-image:url("fire.jpg");
background-attachment:fixed;
background-position:100% 0%;
background-color:black;
background-repeat:no-repeat;
div{
background-image:url("bg.jpg");
background-repeat:none;
background-attachment:fixed;
background-position:0 0;
position:absolute;
background-color:red;
top:50px;
left:140px;
width:500px;
background-color:#b94e15;
color:#ffc;
}
</style>
</head>
<body>
<div>
test tes test...etc
</div>
</body>
</html>
wat doe ik verkeerd? De bedoeling is immers dat die test in een apart rood vak terecht komt..

Nochtans heb ik het volgende ingesteld:
<html>
<head>
<title>Oefening</title>
<style type="text/css">
body{
background-image:url("fire.jpg");
background-attachment:fixed;
background-position:100% 0%;
background-color:black;
background-repeat:no-repeat;
div{
background-image:url("bg.jpg");
background-repeat:none;
background-attachment:fixed;
background-position:0 0;
position:absolute;
background-color:red;
top:50px;
left:140px;
width:500px;
background-color:#b94e15;
color:#ffc;
}
</style>
</head>
<body>
<div>
test tes test...etc
</div>
</body>
</html>
wat doe ik verkeerd? De bedoeling is immers dat die test in een apart rood vak terecht komt..
Laatst bewerkt: