0 votes
1 view
in Web Technology by (22.4k 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>


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

1 Answer

0 votes
by (40.3k 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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !