I am trying to get an Aside tag to float next to a Section tag with CSS but not having much luck so far.
Below is the HTML
<div id="WholePage">
<section>
<asp:ContentPlaceHolder ID="MainContentWindow" runat="server"> </asp:ContentPlaceHolder>
</section>
<aside>
<div id="SideAdRotator">
<asp:AdRotator ID="AsideAdRotator" runat="server" AdvertisementFile="Adverts.xml" Height="300px" Width="150px"/>
</div>
</aside>
Below is the CSS so far
section
{
display : block;
width : 48em;
height : 40em;
border-width : 0.1em;
border-style : dashed;
border-color : black;
}
aside
{
display : block;
width : 12em;
height : 40em;
border-width : 0.1em;
border-style : dashed;
border-color : black;
}
Any suggestions or advice on how to get this would be greatly appreciated. First time Ive ever had this issue of floating sections so really stumped as to why now.
Many thanks to all the responses, they have all been useful and solved my problem.