After creating four basic divs, I decided to modify the header div's properties.
Here is the HTML code:
<div class="third">
Lorem Ipsum
</div>
<div class="third">
Lorem Ipsum
</div>
<div class="third">
<div class="header">Lorem Ipsum</div>
</div>
This is the CSS code:
.third {
width:500px;
display:inline-block;
border-right:1px solid black;
height:400px;
}
.header {
margin-left:16%;
font-family:Arial;
font-size:200%;
}
The third div looks good, but the first two divs get pushed down due to the larger text size. Is there a solution to prevent this alignment issue?