Captcha style changes by explorer type?

Phoca Guestbook - creating guestbooks in Joomla! CMS
CyRaWarrior
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 17 Dec 2012, 12:48

Captcha style changes by explorer type?

Post by CyRaWarrior »

Hello,

First of all thanks for this great component.

I have a problem about viewing captcha. Chrome (v23.0) shows a little maths captcha as component setting, but Firefox 17.0 shows bigger and mixed type maths captcha.

Also if I choose TFF code, then Chrome v23.0 shows very very little TFF picture.

How can I solve this problem? One way is to use reCaptcha but I want to use maths captcha.

you can look to siteImage
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48799
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Captcha style changes by explorer type?

Post by Jan »

Hi, check the GD library and installed fonts on your server, maybe there can be problem while using the fonts on your server :-(

Testing it now in both browsers without any such issue :idea:
If you find Phoca extensions useful, please support the project
info
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 03 Nov 2012, 11:52

[Solved] Re: Captcha style changes by explorer type?

Post by info »

You have added to your site:

img {
height:auto !important;
max-width:100% !important;
-webkit-box-sizing: border-box !important; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box !important; /* Firefox, other Gecko */
box-sizing: border-box !important; /* Opera/IE 8+ */
}

Remove max-width:100% !important; (or do it only for your banner) and it will work!

=> no bug
Post Reply