I made this wholse website by myself to learn better and understand what i am doing. However the boxes (Box1,Box2 etc) are not aligning in right. I want that all headlines are on the same hight, can someone point me out?
2 Answers
Use position position:relative
and then top
or bottom
property of css and use -ve or +ve values to adjust to same height
Try this:
.box {
color: black;
margin: 2% 0 2% 0%;
padding: 0;
border: 0px solid black;
width: 33.33%;
display: inline-block;
float: left;
}
Change your width if want add more box
-
Floating it left makes the footer relative on the page and messes the footer position up Sep 21, 2016 at 12:03