【问题标题】:icon alignment html issue图标对齐html问题
【发布时间】:2024-01-21 13:38:01
【问题描述】:

当我在 firefox/chrome 或 IE 中打开 http://abmatic.azurewebsites.net/Article/CMT%201125A 时,下载文本前面的图标布局不同。任何帮助将不胜感激。

【问题讨论】:

  • 你能在这里发布一些代码吗?没有人愿意花精力查看您网站的源代码
  • 请不要使用“bootstrap”标签,使用“twitter-bootstrap”,因为它意味着别的东西

标签: html css twitter-bootstrap rendering


【解决方案1】:

尝试在图标的 css 中添加垂直对齐,如下所示:

.gray-boxs h3 .glyphicon {
   margin: 0 10px 0 0;
   color: #464648;
   vertical-align: text-top;
}

【讨论】: