문제

I have some javascript that calculates a value and applies it as a text-indent to a select list. This works fine cross browser and device except on firefox (im using the latest version).

With firebug I can see the correct text indent pixel value is being applied as an inline style, however the results is double the indentation width.

If I disable the text indent and apply the same pixel value as a left padding I can see its correct. If I disable javascript and apply the same text-indent with normal CSS it also works fine. Thanks

도움이 되었습니까?

해결책

For some reason applying the text-indent to the div containing the select list works fine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top