2つの部門を並べて表示したい。私は可能な解決策をいくつか試しましたが、それでも重複しています。前もって感謝します。htmlで2つのdivを一緒に表示するにはどうすればいいですか?
<!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 2つのdiv]の可能性のある重複http://stackoverflow.com/questions/446060/css-two- divs-next-to-each-other) –
ブートストラップを使用すると、シンプルになります –