weak lynx gamer
Legacy Member
Hallo allemaal,
alvast bedankt voor jullie tijd.
Ik ben bezig aan een website die ik voorzien heb van een Stylesheet.
Alles gaat perfect, enkel heb ik een klein probleem dat ik maar niet opgelost krijg.
CSS code:
Als ik in het gebied waar de content komt te ver naar beneden ga verschijnt er een open ruimte boven mijn footer.
Image voorbeeld:
http://img41.imageshack.us/img41/868/vhpro.jpg
De ruimte van de content waar de tekst enz komt te staan die achtergrond repeat zich mooi naar onder maar toch sluit deze niet aan op de footer.
(wel als ik de content ruimte bv op 400px hoogte houd)
Iemand een idee? Nogmaals alvast bedankt voor jullie tijd.
alvast bedankt voor jullie tijd.
Ik ben bezig aan een website die ik voorzien heb van een Stylesheet.
Alles gaat perfect, enkel heb ik een klein probleem dat ik maar niet opgelost krijg.
CSS code:
Code:
body {
margin: 0px;
padding: 0px;
background:url(images/bg.png) repeat;
}
#main {
margin:0 auto;
padding-bottom:0px;
width:810px;
/*height:100%;*/
background:url(images/lay_05.jpg) repeat-y;
}
#header {
margin:0 auto;
width:810px;
height:204px;
background-color:#000;
}
#header_left {
float:left;
width:288px;
height:204px;
background:url(images/lay_01.jpg) no-repeat;
}
#header_right_top {
float:right;
width:522px;
height:91px;
background:url(images/lay_02.jpg) no-repeat;
}
#taal {
padding-left:25px;
padding-top:4px;
width:60px;
height:22px;
background:url(images/bg_taal.png) no-repeat;
background-position:bottom;
}
#header_right_menu {
float:right;
width:522px;
height:39px;
background:url(images/lay_03.jpg);
}
#header_right_bottom {
float:right;
width:522px;
height:74px;
background:url(images/lay_04.jpg);
}
#menu {
margin:10px 10px 0px 10px;
padding:0px;
font-family:Book Antiqua;
font-size:14px;
font-weight:bold;
color:#FFF;
text-align:center;
}
#content {
margin:0 auto;
padding:0px;
width:810px;
height:100%;
background:url(images/lay_05.jpg) repeat-y;
}
.text {
margin:0px 40px 0px 40px;
padding:0px;
width:730px;
height:auto;
text-align:left;
}
h1 {
font-size:18px;
font-style:italic;
}
p {
font-family:Verdana, Geneva, sans-serif;
font-size:12px;
color:black;
font-weight:normal;
}
/*tekst links*/
a {
font-family:Verdana, Geneva, sans-serif;
font-size:12px;
color:black;
font-weight:normal;
font-style:italic;
}
a:hover {
font-family:Verdana, Geneva, sans-serif;
font-size:12px;
color:#F30;
font-weight:normal;
font-style:italic;
}
#image {
padding-bottom:0px;
margin-top:30px;
text-align:center;
}
#footer {
position:absolute;
clear:both;
margin:0;
padding:0;
width:810px;
height:107px;
background-image:url(images/footer.png);
background-position:center;
}
Als ik in het gebied waar de content komt te ver naar beneden ga verschijnt er een open ruimte boven mijn footer.
Image voorbeeld:
http://img41.imageshack.us/img41/868/vhpro.jpg
De ruimte van de content waar de tekst enz komt te staan die achtergrond repeat zich mooi naar onder maar toch sluit deze niet aan op de footer.
(wel als ik de content ruimte bv op 400px hoogte houd)
Iemand een idee? Nogmaals alvast bedankt voor jullie tijd.
