I am creating a website and I am having 2 problems:
The website, looks fine when viewed in FireFox and Chrome, but when viewed in ie8, the navigation at the top does not show up correctly (instead of being horizontal and with my set styles, it switches to a vertical list). I tried searching around to determine the issue, and I’ve read that IE has issues with HTML5, but one thing that’s weird is that it views properly off of my desktop (in all browsers including IE). Once I upload it to my website, then it has these issues (only in IE). Has anyone come across this issue before?
I am having problems getting my contact form to work. I purchased a template (which included contact php and js files), but I cannot get the form to work. When I fill out any information in the form and then click the “send message” button, the page refreshes, but the message does not send. It also does not validate that the form is filled out correctly. I also noticed that the name of the site changes from “contact.html” to “contact.html?name=&email=&subject=&message=&submit=Send+Message”
Can anyone offer any advice on either or both of these issues?
Hi, Henry!
Do you have a link to your website? The security context your site runs in varies between your desktop and a live web server. There may be other things at play here, so being able to see your site would help me the most
For your second issue, different contact forms work differently. Some encode the entire form data into the URL as yours seems to be doing, so there is nothing wrong with that. It not working is a problem, of course haha. Is it sending the form data via PHP? If it is, do you have PHP’s mail settings properly configured? A simple tutorial you can try to figure out if your server is properly configured is this one: http://www.kirupa.com/html5/creating_email_contact_form.htm
Hi Kirupa, Thank you for the quick response! The website is drwaranch.com. Also, in addition to causing problems with the header and footer, in IE it adds a white line around the memberships’ box and it looks like there might be a white line around the page.
I’m not sure how the form is sending the information. I think it’s sending the form data via PHP and the javascript is being used to validate that the form is being filled about correctly (although neither of those is working). I’ll check out your tutorial. Thanks!