Ive looked all over the web including scouring the entirety of stack overflow but everything ive tried simply does not work.
My html and css code is as follows. the problem is a large white space occupying the bottom of the page.
body { background-image: url("img/background.jpg"); background-repeat: no-repeat; background-size: cover; } .box { position: absolute; right: 0px; width: 80%; top: 20%; background-image: url("img/box.png"); background-repeat: no-repeat; background-size: 80%; height: 100%; } .box img{ display: block; } .explore { vertical-align: top; position: absolute; right: 42%; width: 10%; top: 70%; background-image: url("img/explore.png"); background-repeat: no-repeat; background-size: 80%; height: 100%; } .explore img { display: block; } <html> <head> <link rel="stylesheet" type="text/css" href="css/index.css" /> <title>Harry Roper Design</title> </head> <body> <div class = "box"></div> <div class = "explore"></div> </body> </html>