PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

IE8 Alignment issues

  1. jonfoster
    Member

    Hi,
    I'm struggling to sort the alignment of checkboxes and radio buttons on a form in IE7. I've tried changing stuff in the CSS but can't for the life of me find what's causing the problems.

    The form is here - http://www.isbham.org/contact-us/
    Or if you don't have access to IE8 - heres a screenshot - http://communiq.co.uk/files/Picture1.png

    Would appreciate any ideas!

    Thanks
    Jon

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  2. Do the fields display properly in your form preview? I haven't seen this issue in some time and I'm assuming it's a style/inheritance issue from your theme.

    Posted 12 years ago on Wednesday July 20, 2011 | Permalink
  3. jonfoster
    Member

    Thanks Kevin - I'll check the form preview when I have access to IE7 later on.

    The only CSS thats being used that doesn't start with gform or gfield is list-style: none; - which I'm kind of presuming won't make a difference...

    Jon

    Posted 12 years ago on Wednesday July 20, 2011 | Permalink
  4. Hi Jon, it looks like you have maintenance mode or something similar set for your site, so I can't see what theme you are using, or test this fix myself. Take a look at this thread:

    http://www.gravityhelp.com/forums/topic/radio-buttons-and-checkboxes-in-ie8-still-having-problems?message=closed#post-23574

    Is there something similar in your theme that would affect your checkbox and radio button alignment?

    Posted 12 years ago on Thursday July 21, 2011 | Permalink
  5. jonfoster
    Member

    Hi Chris,
    Have just give the stuff in that post a try and still no joy!

    Any chance you can take a look? Happy for you to log-in to site with user: gf pass: na56JE&ubraD

    Also - it displays fine in preview mode, so guessing it's something in the theme I'm not seeing.

    Thanks
    Jon

    Posted 12 years ago on Thursday July 21, 2011 | Permalink
  6. I'll take a peek at it. Is the problem in IE7, IE8 or both? Thanks

    Posted 12 years ago on Thursday July 21, 2011 | Permalink
  7. Jon, in IE8 on Windows XP I am getting a JavaScript error now and cannot see the form. Here's the screenshot:
    http://minus.com/meplSvS

    Here's the JavaScript error:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Thu, 21 Jul 2011 16:53:12 UTC

    Message: 'FrontEndEditor' is undefined
    Line: 8
    Char: 3
    Code: 0
    URI: http://www.isbham.org/wp-content/plugins/front-end-editor/aloha-plugins/wpSaveCancel/plugin.js?ver=0.9.3

    Posted 12 years ago on Thursday July 21, 2011 | Permalink
  8. jonfoster
    Member

    Ah, sorry - dodgy plug-in I was trying - should be fixed now.

    Really sorry! Appreciate you looking at this!
    Jon

    Posted 12 years ago on Thursday July 21, 2011 | Permalink
  9. Jon, try adding this to the end of your style.css after all the other Gravity Forms CSS:

    [css]
    body .gform_wrapper .gfield_checkbox li input, .gform_wrapper .gfield_radio li input{
    	display:block;
    	float:left;
    	clear:left;
    	padding:0;
    	margin:0;
    	height:1.6em;
    }
    body .gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label{
    	float:left;
    	padding:0;
    	margin:0;
    	margin-left: 10px;
    }

    I'm not certain what is causing this checkbox and radio button alignment issue (Google returns lots of conflicting solutions) but this worked for me in IE and did not adversely affect Chrome or Firefox. Please test it out and let me know how it works for you.

    Thanks.

    Posted 12 years ago on Friday July 22, 2011 | Permalink
  10. jonfoster
    Member

    Thats worked a treat - thanks so much!
    Jon

    Posted 12 years ago on Friday July 22, 2011 | Permalink
  11. Glad that worked out for you. Let us know if you need anything else.

    Posted 12 years ago on Friday July 22, 2011 | Permalink

This topic has been resolved and has been closed to new replies.