Reputation: 57095
i am trying to make the screen to fully fill with the design no empty things around and also be responsive i have tried it so far.
Also want to Size of text-box and Login button.
Current Output
Upvotes: 3
Views: 13265
Reputation: 6322
A shameless plug but I just released an open source project to exactly this issue. It plays nicely with bootstrap but gives you the look you are going for with only a few lines of code:
https://github.com/rknell/snappyapps-layout
<div class="sa-container">
<div class="sa-layout horiztonal">
<div>Sidebar (obviously you will need to style this with colours etc)</div>
<div class="grow">Content</div>
</div>
</div>
Upvotes: 0
Reputation: 30975
Following TWB 2 syntax :
replace
<div class="container">
by
<div class="container-fluid">
Upvotes: 4
Reputation: 11862
Add -fluid
to your container
class:
<div class="container-fluid">
</div>
Even then, Bootstrap adds 20px
padding either side of the document, which of course - you can remove like below:
<style type="text/css">
#full-width {
padding: 0;
}
</style>
<div id="full-width" class="container-fluid">
</div>
Example Fiddle: http://jsfiddle.net/qFKdF/1/
Upvotes: 6
Reputation: 1605
hope it will help you, u need to add custom div with width:100%
.container-full {
margin: 0 auto;
width: 100%;
}
Upvotes: 2