I would like 2 divs, which are within a container div, to appear side-by-side. However the second one wraps for some reason. The 2nd div promo is below and to the right the 1st div slideshow. The margin seems correct, but I want these two divs to appear side-by-side.
I've tried some of the suggestions on here but they do not work.
Here is the CSS:
#top-feature {
background: red;
height: 320px;
width: 897px;
margin: 11px 0 0 0;
/*padding: 10px 0 0 10px;*/
position: relative;
text-align: left;
}
#slideshow {
height: 300px;
width: 548px;
margin: 0 0 0 0;
background: blue;
}
#promo {
height: 100px;
width: 200px;
margin: 0 0 0 569px;
background: green;
}
Here is the HTML:
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<div id="top-feature">
<div id="slideshow">
</div>
<div id="promo">
</div>
</div>
</asp:Content>