Title: [Plugin: reCAPTCHA Form] html broken?
Last modified: August 19, 2016

---

# [Plugin: reCAPTCHA Form] html broken?

 *  Resolved [desean](https://wordpress.org/support/users/desean/)
 * (@desean)
 * [17 years ago](https://wordpress.org/support/topic/plugin-recaptcha-form-html-broken/)
 * firstly, thanks for the plugin.
 * your plugin works fine for me except that the html seems to be broken (tried 
   with all current versions of firefox, chrome & ie8). see my contact form to understand
   what i mean -> [http://www.dragonscouts.com/home/about/](http://www.dragonscouts.com/home/about/)
 * i’ve disabled all plugins except this and the problem still persist so it is 
   not a plugin conflict issue.
 * however, when i activated the default theme, the problem goes away. but the problem
   is not with the theme i’m using ([Atahualpa](http://wordpress.org/extend/themes/atahualpa)).
   why i say this so? i also use the [WP-reCAPTCHA](http://wordpress.org/extend/plugins/wp-recaptcha/)
   plugin for my post comments ([example here](http://www.dragonscouts.com/home/2009/06/13/the-baden-powell-story/#respond))
   and there is nothing wrong with it.
 * can you tell what’s wrong and fix it? thanks.
 * p.s. can i use the black glass theme for your plugin as well? why not tag your
   reCAPTCHA to the WP-reCAPTCHA plugin? just a suggestion.
 * [http://wordpress.org/extend/plugins/recaptcha-form/](http://wordpress.org/extend/plugins/recaptcha-form/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [tcrDev](https://wordpress.org/support/users/gattdesign/)
 * (@gattdesign)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-recaptcha-form-html-broken/#post-1107930)
 * I have narrowed the problem down to the theme’s header.php code.
 * If you go to line 61 of header.php, you see this chunk of code:
 *     ```
       <?php if ($bfa_ata_table_hover_rows == "Yes") { ?>
       	$bfa(".post table tr").mouseover(function() {$bfa(this).addClass("over");}).mouseout(function() {$bfa(this).removeClass("over");});
       	<?php } else { ?>
       	$bfa(".post table.hover tr").mouseover(function() {$bfa(this).addClass("over");}).mouseout(function() {$bfa(this).removeClass("over");});
       	<?php } ?>
       	<?php if ($bfa_ata_table_zebra_stripes == "Yes") { ?>
       	$bfa(".post table tr:even").addClass("alt");
       	<?php } else { ?>
       	$bfa(".post table.zebra tr:even").addClass("alt");
       	<?php } ?>
       ```
   
 * For some reason this causes a conflict with the reCAPTCHA image (I assume because
   the code generated by reCAPTCHA displays it in a table, and the above code in
   your header.php file relates to tables). When I removed it, the reCAPTCHA image
   showed up fine.
 * However I do not know if removing this chunk of code will adversely affect anything
   on your pages – from a quick glance all it seems to do is dynamically add and
   remove a couple of CSS classes to do with tables (the “over” and “alt” classes
   in the style.css file).
 * Re. your other question about themes, the option to change themes will be in 
   the next version of this plugin, which should hopefully be released some time
   this week.
 *  Thread Starter [desean](https://wordpress.org/support/users/desean/)
 * (@desean)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-recaptcha-form-html-broken/#post-1107936)
 * but any idea why the WP-reCAPTCHA plugin isn’t affected?
 *  Thread Starter [desean](https://wordpress.org/support/users/desean/)
 * (@desean)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-recaptcha-form-html-broken/#post-1107937)
 * btw, i was trying to remove the code you mentioned above to try but i couldn’t
   find it. i think you might be using version 3.2 (the latest version on wordpress.
   org) but i forgot to mention that i’m using version 3.3.3 ([found at the theme’s website](http://wordpress.bytesforall.com/?p=71))
 *  [tcrDev](https://wordpress.org/support/users/gattdesign/)
 * (@gattdesign)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-recaptcha-form-html-broken/#post-1107941)
 * I looked at the code and I think it only applies to code in the main post content,
   not in the comment which is what WP-reCAPTCHA is for. If you compare a comments
   section with the reCAPTCHA Form, you will see the code for displaying the actual
   reCAPTCHA box isn’t really any different.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: reCAPTCHA Form] html broken?’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [tcrDev](https://wordpress.org/support/users/gattdesign/)
 * Last activity: [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-recaptcha-form-html-broken/#post-1107941)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
