I am having some problem on my div height part. I was trying to make the div height to 100% but its not working. If I didnt use the html 5 my code works fine. This is the link where i have included the live website with the following error.
This is my style.css code :
.slide {
background-attachment: fixed;
width: 100%;
height: 100%;
position: relative;
padding: 30px;
}
#slide1 {
background-color: #00B4FF;
}
#slide2 {
background-color: #000000;
}
#slide3 {
background-color: #00B4FF;
height: 700px;
}
#slide4 {
background-color: yellow;
width: 100%;
height: 100%;
}
#slide5 {
background-color: #f8f8f8;
}
#slide6 {
background-color: orange;
height: 350px;
}
#slide7 {
background-color: #f8f8f8;
}
I have tried manually changing the height to 100% in each of the #slide id but still its not working.