我在OS X上使用Chrome 41.一个实时示例将更容易说明我的问题:http://mathieumarques.herokuapp.com/。
如果向下滚动到体验部分,即使我强制text-indent: 0;
,您也可以看到每个段落前面的前导空格。但是,我可以为text-indent
属性添加负值。
我在Firefox上没有这个问题。
答案 0 :(得分:0)
标记中的标签/空格/字符导致它。
删除它们可以解决问题。
旧:
<div class="lead timeline-body ng-scope" ng-transclude="" ng-bind-html="item.description"><p>
Web development with Django and jQuery.
Porting of a desktop C++ application to the
Web. Realization of a single page
application, with vectorial drawing on
mouse events.
</p>
新:
<div class="lead timeline-body ng-scope" ng-transclude="" ng-bind-html="item.description"><p>Web development with Django and jQuery. Porting of a desktop C++ application to the Web. Realization of a single page application, with vectorial drawing on mouse events.</p>