下面的代码演示了段落标记,其内容似乎不是针对每个新行开始于同一级别。但是,有些行以额外空格开头。因此,我使用display: inline;
将文本全部对齐到左侧,但尚未将元素内容对齐以从同一级别开始。
<div class="container">
<div class="row centered">
<div class="col-lg-8 col-lg-offset-2">
<h4 >We proud for the services we provide to the client</h4>
<p class="fonts">We believe ideas come from everyone, everywhere. At Al-AndalusSD is computer software company. Our dedicated web app developers have completed many web-applications for varity of customers in the industry of e-learning, managment, e-comearce, mangament and much more. </p>
</div>
</div><!-- row -->
</div><!-- container -->
.fonts{
font-family: 'Open Sans', sans-serif;
display: inline;
float: left;}