I attempted to apply text-align using CSS, but it doesn't seem to be working as expected. I have set the body alignment to center as well. Could this be causing an issue? Below is my CSS:
#Swell {
text-align: left;
}
Here is the HTML code:
<a id="Swell" href="https://www.swell.com">Use Swell Bottles<img src="https://s-media-cache-ak0.pinimg.com/originals/f9/93/95/f99395b48463ee8d3bfa16f32df51c98.jpg" height="50"></a>
Furthermore, here's the CSS for aligning the body text:
body {
font-family: sans-serif;
text-align: center;
background-color: rgb(128, 212, 255);
}
If the text-align setting on the body element is affecting the outcome, how can I correct or override this error?