我在 OS X 上使用 Chrome 41。一个活生生的例子将更容易地说明我的问题: http: //mathieumarques.herokuapp.com/。
如果您向下滚动到“体验”部分,您可以在每个段落前面看到一个前导空格,即使我强制使用text-indent: 0;
. text-indent
但是,我可以为该属性添加一个负值。
我在 Firefox 上没有这个问题。
我在 OS X 上使用 Chrome 41。一个活生生的例子将更容易地说明我的问题: http: //mathieumarques.herokuapp.com/。
如果您向下滚动到“体验”部分,您可以在每个段落前面看到一个前导空格,即使我强制使用text-indent: 0;
. text-indent
但是,我可以为该属性添加一个负值。
我在 Firefox 上没有这个问题。
标记中的制表符/空格/字符导致它。
删除它们可以解决问题。
老的:
<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>