Я хочу показать два подразделения бок о бок. Я попробовал несколько возможных решений, но они все еще перекрываются. Заранее спасибо.Как отобразить два div вместе в html?
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.sidebar
{
width:200px;
background:yellow;
color:orange;
padding:50px;
}
.content
{
width:600px;
background:silver;
color:red;
padding:50px;
}
</style>
</head>
<body>
<div class="sidebar">
This is sidebar div
</div>
<div class="content">
This is Content div
</div>
</body>
</html>
Возможный дубликат [CSS два дивы рядом друг с другом] (http://stackoverflow.com/questions/446060/css-two- divs-next-to-each-other) –
использовать бутстрап, сделать его простым –