1 person found this helpful
You've got a lot of CSS styles going on for that page. You should move your embedded styles to your external stylesheet and take out the body styles because they're already covered in your style.css
Delete 100px borders from your #container and use that color as your body background.
Hi Nancy, thanks for the quick response! I did seem to have missed that section of CSS, and have moved it to the external stylesheet. I removed the borders on #container as you suggested. What still seems to be happening, though, is that the margin-left:auto and margin-right:auto styles don't seem to be functioning at all. The #container remains flush to the left side. These margin issues seem to be the root of the problem. How can I fix this?
Is it necessary with PHP to call the stylesheet as a function in order to get them to work? I didn't think so because everything except those auto-margins seem to be working, but perhaps I'm wrong.
I changed the folder name to all lowercase, so here's a new link: http://www.accu-sembly.com/test/contactform.php
I appreciate it, thanks!
I actually figured it out. I accidentally left the DOCTYPE and accompanying headers in the PHP document, when I had those lines called in an external library. This sent IE into quirks mode with the "space" above those headers. It's working just fine now, thanks for your help Nancy =)
It looks to me like you pasted a page into a page. You have a 2nd document type on line 19, 2 body tags, 2 title tags and a bunch of other validation errors that would effect page performance in browsers. IE8 is very sensitive to code errors.