Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Code for centering image no longer works?

This code I've posted earlier works for me

Tiggzi('dapplogo').css('margin', 'auto');
Tiggzi('dapplogo').css('align', 'center');

Image

Code you're using won't work because of bug - we'll fix it soon.

Jahmarley
Posts: 0
Joined: Mon Apr 16, 2012 8:21 pm

Code for centering image no longer works?

Ty Marina :)

Didn't even notice the difference in the codes

It works

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

Code for centering image no longer works?

I'm having the exact same problem aligning and image and it the code:

Tiggzi('ovcn_logo').css('margin', 'auto');
Tiggzi('ovcn_logo').css('align', 'center');

won't work for me. I must be missing something because it's starting to drive me crazy.

I've shared my project with a href="mailto:support@Tiggzi.com" rel="nofollow"support@Tiggzi.com/a and the project is called "OVCN iOS new". Let me know what I'm doing wrong

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Code for centering image no longer works?

Hi Steve, we will check.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Code for centering image no longer works?

On your main page, on the bottom image "OVCN.org" there is a Run JavaScript action with incorrect JavaScript code (brace is missing). This caused JavaScript works incorrectly and logo wasn't centered.
Delete Run JavaScript Action from the bottom image or correct it.

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

Code for centering image no longer works?

You are awesome! Thanks for finding that. I was going crazy trying to get it to center and didn't realize I had a problem in another area! Super!

Jahmarley
Posts: 0
Joined: Mon Apr 16, 2012 8:21 pm

Code for centering image no longer works?

Hi Tiggzi,

The code:

Tiggzi('dapplogo').css('margin', 'auto');
Tiggzi('dapplogo').css('align', 'center');

I tested my app today and realized that the above code no longer works, this may have been due to updates, not sure... can you check please?

Thank you

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

Code for centering image no longer works?

I had the same experience today. I was making an update in a totally unrelated area and found in testing the align code no longer works. I even experimented using Firebug and wasn't able to align the image no matter what I did.

Was there an update that broke this capability?

Your help is appreciated.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Code for centering image no longer works?

Hello! Testing...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Code for centering image no longer works?

Try this code:

codeTiggzi('dapplogo').css('margin', 'auto');
Tiggzi('dapplogo').css('display', 'block');/code

Return to “Issues”