I've been attempting to place two images within a single div, but they're not appearing how I intended.
I'd like there to be some space between the images, but that's not happening.
Here's the CSS I'm using:
.sidebarBody {
text-align:center;
padding: 5px;
}
And here is the HTML code:
<div class='sidebarBody'>
<img src="r.gif" />
<img src="s.gif" />
</div>
Why isn't the padding being applied to all sides? The second image is displayed right next to the first one without any space in between.
Any assistance would be greatly appreciated. Thank you.