Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Web Technology by (20.3k points)

I want a button to take up the full width of the column, but having difficulties...

<div class="span9 btn-block">

    <button class="btn btn-large btn-block btn-primary" type="button">Block level button</button>

</div>

How do I make the button as wide as the column?

1 Answer

0 votes
by (40.7k points)

For Bootstrap v3 & v4:

You can use btn-block class on your button/element.

For Bootstrap v2:

You can try using input-block-level class on your button/element.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...