In select replace(field,E'\n','');
I have row examples with some data I want to display, on top of mine text I will put an container-fluid
. This is a standard section web-pages have these days.
img
Now mine question is related to <div class="container-fluid">
<!-- SOCIETE row of columns -->
<div class="row SOC-columns">
<div class="col-xs-12 col-sm-4">
<img src='http://imgsrc.hubblesite.org/hu/db/images/hs-1994-02-c-thumb.jpg' class=" img-rounded img-responsive" alt="Responsive image">
<h4><strong>No Broker or Hidden Fees</strong></h4>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
<div class="col-sm-4">
<img src='http://imgsrc.hubblesite.org/hu/db/images/hs-2003-28-a-thumb.jpg' class=" img-rounded img-responsive" alt="Responsive image">
<h4><strong>Extremely Fast.</strong></h4>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
<div class="col-sm-4">
<img src='http://imgsrc.hubblesite.org/hu/db/images/hs-2010-26-a-thumb.jpg' class=" img-rounded img-responsive" alt="Responsive image">
<h4><strong>Flexible Lease Terms</strong></h4>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
</div>
</div>
<hr>
<div class="row SOC-columns">
<div class=" col-xs-12 col-sm-4">
<img src='http://imgsrc.hubblesite.org/hu/db/images/hs-1994-02-c-thumb.jpg' class=" img-rounded img-responsive" alt="Responsive image">
<h4><strong>Operations and Engeneering.</strong></h4>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
<div class="col-sm-4">
<img src='http://imgsrc.hubblesite.org/hu/db/images/hs-2010-26-a-thumb.jpg' class=" img-rounded img-responsive" alt="Responsive image">
<h4><strong>Networking.</strong></h4>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
</div>
<div class="col-sm-4">
<img src='http://imgsrc.hubblesite.org/hu/db/images/hs-2003-28-a-thumb.jpg' class=" img-rounded img-responsive" alt="Responsive image">
<h4><strong>Safety.</strong></h4>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
</div>
</div>
positioning inside mine img
. I want to columns
images, and I'm doing that with
center
in mine JSFIDDLE example, and they are aligned. I assume that this is not the right way of positioning in my case or any case, I hope that someone can explain to me the right way of doing this.
答案 0 :(得分:1)
Replace the:
ControllerAs
with:
.SOC-columns img {
padding-left: 220px;
}
答案 1 :(得分:1)
根据.SOC-columns
具有text-align: center
属性,您只需在图片中添加display: inline
属性即可。
.SOC-columns {
text-align: center;
}
.SOC-columns img {
display: inline;
}