I can’t seem to get my spacing correct below my portfolio section. I’m trying to extend the <div class="box">
so that the white background moves down on the page. I’ve tried just about everything that I can think of and must be missing something. Any advice is welcomed. Thanks.
On first glance, I notice that you’ve mispelled height and width as “hight” and “wigth” in your css box definition.
These front end languages can be frustrating - if you make a typo, often they will just ignore it and they can be difficult to find.
Change your box definition to:
.box{
background: white;
position: absolute;
padding: 0%;
margin: 0;
left: 0;
right: 0;
width: 100%;
top: 47%;
height: 60%;
}
and you get better results.
And your “.contact-position” definition talks about “backgroung-image”.
1 Like
Thank you, thank you, thank you. You have no idea how long I’ve been working on that.
We’ve all been burned by those hidden spelling mistakes.