Forms looks different on Explorer vs Mozilla

  • mhowe479
    Asked on July 5, 2015 at 7:48 PM

    I have a form where fields have a specific number of entry size, ie PCode is P99999. On Firefox this looks fine but when I open the same form on Explorer 9 the fields are smaller even though the page size is the same (see example). Not sure why it acts different.

    Jotform Thread 603571 Screenshot
  • Mike_G JotForm Support
    Replied on July 5, 2015 at 10:07 PM

    Maybe the best explanation to this is found on this article I found over the internet: http://www.smashingmagazine.com/2010/06/07/the-principles-of-cross-browser-css-coding/

    See, HTML and CSS, especially on forms, appears differently on different web browsers. 

    I have cloned you form so I can test it on each browser and here's what I found out. 

    Internet Explorer:

    Forms looks different on Explorer vs Mozilla Image 1 Screenshot 70

    Mozilla FireFox:

    Forms looks different on Explorer vs Mozilla Image 2 Screenshot 81

    Google Chrome:

    Forms looks different on Explorer vs Mozilla Image 3 Screenshot 92

    There are ways for you to apply CSS that will affect the form only when it is opened using Internet Explorer. 

    You can check out this article: http://codemug.com/html/css-hacks-for-ie6ie7ie8ie9-and-ie10/

    Or you can have the other way around. Edit your form so it should fit IE and place a code that will change the form's width when opened using FireFox.

    https://css-tricks.com/snippets/css/css-hacks-targeting-firefox/

    CSS codes can be added on your form using this guide: How-to-Inject-Custom-CSS-Codes

    Forms looks different on Explorer vs Mozilla Image 4 Screenshot 103

    As for the Result: 

    Internet Explorer: 

    Forms looks different on Explorer vs Mozilla Image 5 Screenshot 114

    FireFox:

    Forms looks different on Explorer vs Mozilla Image 6 Screenshot 125

    I hope this helps. Let us know if you need any further assistance. Thank you.