我有这样的图像HTML的div标签不工作单独的div影像指定
的计划是设置每个黄色图像下方的LinkedIn图标中心。这里是代码:
<div class="contentEditableContainer contentGmapEditable" style="min-height: 0px;">
<div class="contentEditable">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<br>
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;"> </div> </div>
的问题是,我试图创造这些单独的部门,如:
<div class="col-md-12">
<div class="col-md-2">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<br>
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
</div>
<div class="col-md-2">
<img data-default="placeholder" src="images/placeholder_2.jpg" width="75" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
<br>
<img data-default="placeholder" src="images/linkedin.png" width="35" style="padding:2px;border:1px solid #dbdeec;border-radius:3px;-webkit-border-radius:3px;">
</div>
</div>
在我想它应该创建两个图像分开的div和<br>
应该允许linkedin图标在黄色下方。它不工作,它,而造成这样的:
我这么想吗?
,如果你打算使用引导程序,那么你应该创建两行一列将包含LinkedIn的图像和其他将包含黄色图片 –