{text-indent : -9999} for image replace not working

后端 未结 6 2313
孤街浪徒
孤街浪徒 2021-02-07 08:39

Any ideas why?

http://jsfiddle.net/FHUb2/

6条回答
  •  旧巷少年郎
    2021-02-07 09:06

    Apart from the reason that text-indent doesn't works on inline elements. another reason is if your element or one of its parent has been set with text-align:right

    So make sure your element has been set with text-align:left to fix this.

提交回复
热议问题