Sign in
Log inSign up

Firefox doubles text-indent applied to anchor tag

Daniel Tucker's photo
Daniel Tucker
·Jul 13, 2016

I have an anchor tag that I am applying text-indent: 18px in order to have 18px of space for a background image to show that is 16px wide. In Chrome it works as expected and give 18px of space but in Firefox I get 36px of space. Does anyone know a way to get around this? I would like to use text-indent instead of padding-left. Thanks!