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.

IE9 placing 'none' next to all my fields.

  1. mike365
    Member

    When viewing my site, http://www.yourlocalproject.com in IE9, it shows 'none' next to each of my form fields. It only shows up in IE and not Safari or Firefox. It also has a grey box around the submit button, again only in IE9. I have added .gform_footer input {background-color: #fff!important; border: 0!important; padding: 0px;} in my stylesheet, but it only removes the grey box in FireFox and Safari and not IE. Any ideas?

    Posted 13 years ago on Friday July 8, 2011 | Permalink
  2. I've seen the "none" text thing a few times here. It's always been related to the "dd belated png" script for IE. That was intended to introduce PNG transparency support for IE6 and it apparently causes some issues with the newer versions of Internet Exploder - injecting some text where something is is apparently expected.

    Once I looked at your markup, I do indeed see that this script is being loaded on your page. Unless there's some other reason you need that, I'd simply remove it from your markup. IE6 is dead and the newer browsers support the png transparency natively.

    I don't have IE9 installed on any machine I have handy at the moment so I can't give you any definitive guidance about the styles other than to say try using more specific CSS inheritance for your new rule to override the blanket form styles they've used in the theme.

    [css]
    body .gform_footer input[type=submit],
    body .gform_footer input[type=image] {
    	background: none!important;
    	border: none!important;
    	padding: 0;
    }

    The theme adds borders and padding to all inputs which is just sloppy work. There are different kinds of input elements, buttons, checkboxes, radio buttons, images that don't all need to be styled alike. If you still have problems with it, you should probably talk to the Pagelines support team since the offending styles originate from your theme.

    Posted 13 years ago on Saturday July 9, 2011 | Permalink