My current project's website has a homepage with two rows of content. Each row consists of 2 paragraphs, each with a heading and corresponding buttons. However, the issue is that I want the headers in each row to align with one another so that the first line of each header lines up perfectly. Below is the code snippet for the div:
This is the second paragraph
This is the first paragraph and it does not line up
"content................... "content....................
.......................... .............................
.........................." ............................."
|BUTTON|
Here is the CSS code for the div:
/* Home page introductory paragraphs layout */
div {
display: inline-block;
height: 200px;
width: 500px;
padding-left: 75px;
padding-right: 75px;
padding-top: 40px;
padding-bottom: 40px;
}
Is there any way to ensure that the header is always at the top of the block?