Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
barrymul

Text align in Firefox

Recommended Posts

Hi all,

 

Very new to SVG editing and GSAP in general so please excuse this very newbie question. 

 

I've searched the forums but haven't found a simple answer to my question..

 

Which is: How do I centre the text in this circle in firefox. It's aligned prefectly in other browsers. 

 

Please help!! 

 

Kind regards

 

B

See the Pen WvXyJo by beezle (@beezle) on CodePen

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

 

FF doesn't like all that extra white space around the text. 

<text transform="matrix(1 0 0 1 494.5244 162.6572)" fill="#55CEAD" font-size="13" >About</text>

http://codepen.io/anon/pen/bdYjbW

 

This was fairly easy, but please try to keep your questions related to the GreenSock tools. 

 

Thx.

Link to comment
Share on other sites

Thank you! That was driving me crazy! 

 

I'm using GreenSock for all the animation but yes I realize this was more of a general SVG question so thanks for the reply. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×