I'm having trouble displaying two images side by side on my website with a gap in between. I've used CSS to position the images next to each other.
This is the HTML code I'm using:
<div id="divCenter">
<img src="Company Logo.jpg" alt="Company Logo" style="width:150px;height:150px" id="divIDOne"/>
<%-- Code for the motion image --%>
<object type="application/x-shockwave-flash" data="animation.swf" width="719" height="174" id="divIDTwo">
<param name="movie" value="animation.swf" />
</object>
</div>
And here is my CSS code:
#divCenter {
text-align: center;
}
#divIDOne {
margin-right: 200px;
}
#divIDTwo {
margin-left: 300px;
}
However, when I view the website, there is no space between the two images. How can I fix this issue?
Thank you for your help.