I'm working on a school project to create a mock website, but I'm facing an issue with my div elements being misaligned and showing up in the wrong place.
Here's how it currently looks: [
Here's how I want it to look (designed with photoshop): [
HTML
<div id="wrapper">
<font color="BB9B5D"><h3><strong>LATEST NEWS</strong></h3></font>
<hr color= "bb9b5d" />
<div id= "LN1">
<img src="Images/Fillerino.jpg" name="lni1" id="lni1" align= "left">
<h4>Update 1.1.0</h4>
<p>The first update of this year is here! Download it now and play with your friends, and be the first to take down the new bosses. </p>
</div>
<div id= "Ln2">
<img src="Images/Fillerino.jpg" name="lni2" id="lni2" align= "left">
<h4>Patch Notes 1.1.0</h4>
<p> Read up on the Official Patch Notes to find out what you're up against.</p>
</div>
</div>
<div id= "NR">
<font color="BB9B5D"><h3><b>RELEASES</b></h3></font>
<hr color= "bb9b5d" />
</div>
</body>
</html>
NR on the right is displaying correctly, but LN1 and LN2 are misaligned
CSS
#wrapper {
margin-top: 20px;
margin-left: 20px;
margin-bottom: 20px;
background-color: #202020;
padding-left: 30px;
padding-top: 1px;
padding-bottom: 600px;
padding-right: 30px;
font-family: Roboto-Light;
min-width: 55%;
max-width: 55%;
float: left;
}
#NR {
margin-right: 20px;
margin-top: 20px;
background-color: #202020;
padding-left: 30px;
padding-top: 1px;
padding-right: 30px;
padding-bottom: 300px;
font-family: Roboto-Light;
min-width: 32%;
float:right;
}
#LN1 {
font-family: Roboto-Light;
}
#lni1 {
width: 20%;
height: 20%;
margin-right: 10px;
}
#lni2 {
width: 20%;
height: 20%;
margin-right: 10px;
margin-left: 10px;
}
I've tried adjusting margins and padding for LN1 and LN2, but I want to avoid using position:absolute as I plan to add more divs in a similar format below them.
Any assistance would be greatly appreciated. Thank you!