After researching and trying various solutions suggested for aligning an image, I am still unable to get it to align as desired.
Here is the HTML code snippet:
<section>
<img class="seattle" src="img/Seattle Pier.jpg" alt="Seattle docks">
<h3>General Information</h3>
Below is the corresponding CSS code:
section {
margin: 10px 0 10px 0;
}
.seattle {
display: block;
margin: 0 auto 15px;
border-radius: 50%;
width: 250px;
height: 250px;
}