leuthrick
Gebruiker
- Lid geworden
- 17 sep 2008
- Berichten
- 454
Hallo,
Ik wil dat het achtergrond plaatje horizontaal word herhaalt tot de pagina op houd.
Maar het probleem is dat hij nu niet lang genoeg herhaalt, en dat je dus de witte achtergrond krijgt te zien ipv het plaatje.
css:
html:
alvast bedankt
Ik wil dat het achtergrond plaatje horizontaal word herhaalt tot de pagina op houd.
Maar het probleem is dat hij nu niet lang genoeg herhaalt, en dat je dus de witte achtergrond krijgt te zien ipv het plaatje.

css:
Code:
body{
margin: 0px; padding: 0px;
font-family:Arial;
}
#clear_1{
width:100%;
height:2px;
}
#clear_2{
width:100%;
height:2px;
}
#header{
background-image:url(../image/style/header_background.png);
background-repeat:repeat-x;
min-width:100%;
height:91px;
}
#photo_slider{
background-image:url(../image/style/header2_background.png);
background-repeat:repeat-x;
width:100%;
height:498px;
}
#content{
background-color:#dadfeb;
width:100%;
min-height:40em;
}
#footer{
background-color:#565f81;
width:100%;
height:120px;
}
html:
HTML:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>leuthrick</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
------------------------------------------------------------------------------------------------------------------------- (ect. ik heb hem maar even ingekort)
</div>
<div id="photo_slider">
</div>
<div id="clear_1">
</div>
<div id="content">
</div>
<div id="clear_2">
</div>
<div id="footer">
</div>
</body>
</html>
alvast bedankt
Laatst bewerkt: