Looking to create a layout with 2 separate columns for the content on my website. The desired layout is shown below:
https://i.stack.imgur.com/V4uX2.jpg
On my computer monitor, it displays as intended. However, on my mobile device it appears like this:
https://i.stack.imgur.com/H7CNe.png
I want the two columns to always be side by side, and not stacked on top of each other as on mobile.
CSS
#leftSide {
margin-top:80px;
margin-left:200px;
float:left;
width:400px;
}
#rightSide {
margin-top:80px;
margin-left:10px;
float:left;
width:400px;
}
HTML:
<div id="leftSide">
</div>
<div id="rightSide">
</div>