[英]How do I prevent automatic line break in my heading tag?
In the following picture as you can see "Colton Smith" is coming in two lines.在下图中,您可以看到“Colton Smith”分两行出现。 What should I do to prevent this?
我应该怎么做才能防止这种情况发生? I want to display in the same line.
我想显示在同一行。 Here is my code
这是我的代码
<div class="row mt-5" id='imag'> <div class="col-lg-4"> <div class="row"> <div class="col-lg-1"> <img src="images/image-colton.jpg" alt="" /> </div> <div class="col-lg-3" id="intro"> <h6>Colton Smith</h6> <h6>Verified Buyer</h6> </div> </div> <div class="row"> <p> "We needed the same printed design as the one we had ordered aweek prior. Not only did they find the original order, but we alsoreceived it in time. Excellent!" </p> </div> </div> </div>
In your code change <div class="col-lg-3" id="intro">
to <div class="col-lg-11" id="intro">
在您的代码中将
<div class="col-lg-3" id="intro">
更改为<div class="col-lg-11" id="intro">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.