Skip to main content
Known Participant
December 15, 2017
Answered

PHP form mail, using same code, appearance differs on separate site builds...

  • December 15, 2017
  • 1 reply
  • 1049 views

Using the same php form mail obtained from:

http://alt-web.blogspot.com/2015/07/responsive-contact-form-with-bootstrap.html

...the resulting form, when viewed on 2 different site builds, has a different appearance. Keep in mind, both sites built on retina screen Mac, using same code, and producing different visual results.

The appearance of the form mail on site (1) is perfectly normal, while the one on site (2) is 1/2 the visual size; viewed on the same system on which they were built. The same holds true when viewed on large duel screen work station as well.

(1) http://greenlightinvestmentproperty.com/contact/contact.php

(2) https://0182d1d.netsolhost.com/SatGrp-BS-v1/contact/contact.php

This topic has been closed for replies.
Correct answer Jon Fritz

https://forums.adobe.com/people/SatGraphics+Art  wrote

Both site hosted thru NetSol  (now iWeb) Apache Unix. Different IP, same host.

Might be the same host but different servers. They could be set up very differently...

Have you tried to see if it recognises inline css?

<div class="wrapper" style="background-color: red;">Red Background</div>

and an internally linked stylesheet, rather than an externally linked stylesheet?

Maybe it doesnt like the .php extension, try it with an .html extension.

When something like this happens you have to go through a series of simple tests to establsh what is happening and why, but I can tell you now  its a server incompatibility issue.


The red text css in the head of the page seems to work correctly.

I think it's more likely an issue with free/cheap/parking style hosting and externally linked files.

I'd try bringing the bootstrap.css file into your site, rather than using the CDN link. Switch the <link> tag to the local version of the .css file, upload both to your server see what, if anything, happens.

1 reply

Legend
December 15, 2017

I'd say for sure the server which example 2 is hosted on is not quite right for some reason. Looks like it might not be set up to recognise css files, which would be strange.

Code works ok here in local view. What does your local view show you?

If you host example 2 code  on example 1 server what happens?

Known Participant
December 15, 2017

Both site hosted thru NetSol  (now iWeb) Apache Unix. Different IP, same host.

Legend
December 15, 2017

https://forums.adobe.com/people/SatGraphics+Art  wrote

Both site hosted thru NetSol  (now iWeb) Apache Unix. Different IP, same host.

Might be the same host but different servers. They could be set up very differently...

Have you tried to see if it recognises inline css?

<div class="wrapper" style="background-color: red;">Red Background</div>

and an internally linked stylesheet, rather than an externally linked stylesheet?

Maybe it doesnt like the .php extension, try it with an .html extension.

When something like this happens you have to go through a series of simple tests to establsh what is happening and why, but I can tell you now  its a server incompatibility issue.