Answer the question
In order to leave comments, you need to log in
How to position blocks in bootstrap?
Started working with Bootstrap. You need to make 2 columns side by side. The first is the sidebar, fixed column, size 315px. And I want to make the second column div with class="container-fluid".
Tried to set the sidebar to float:left and the same for the div with class="container-fluid". But the second column collapses and the size is obviously not 100%.
Help to place the blocks correctly. Really needed.
Here is a short code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap</title>
<link href="less/main.css" rel="stylesheet/less" >
</head>
<body>
<main>
<aside class="navigation"></aside>
<div class="container-fluid"></div>
</main>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question