Khrys
Khrys

Reputation: 2774

Twitter bootstrap label with <br>

How can I have a double line in a label without breaking the label itself?

Example here: http://jsfiddle.net/Khrys/7AKvM/133/

<div class="container">
    <h1>Example heading <span class="label label-default">What´s<br>New</span></h1>
</div>

Upvotes: 0

Views: 598

Answers (1)

Sebsemillia
Sebsemillia

Reputation: 9476

Just give the label display: inline-block;.

Working Example

Upvotes: 1

Related Questions