html - SVG text not centering firefox -


i have svg logo text, text centered. , works fine in chrome , ie not firefox, text moved left.

<text transform="matrix(0.9287 0 0 1 60.9023 137.7646)">     <tspan x="0" y="0" fill="#ffffff" stroke="#fafaf8" stroke-miterlimit="10" font-family="'consolas'" font-size="71.5163" letter-spacing="9.691">soc</tspan>     <tspan x="-24.809" y="85.819" fill="#ffffff" stroke="#fafaf8" stroke-miterlimit="10" font-family="'consolas'" font-size="71.5163" letter-spacing="9.691">king</tspan> </text> 

please help.

use text-anchor="middle" center text (then x coordinate points center)


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -