View Full Version : Some CSS help with IE and FF

06-04-2012, 04:15 AM
Hi all,

This is my first post and I was hoping someone could help me on a webpage that I am doing.

Everything looks great in FF 12.0 but in IE 8 it is missing alot of things:

The web address is http://www.smartecinstallations.com

Thanking you in advance.


06-04-2012, 04:24 AM
Your code has multiple doctypes, multiple <body> sections, </html> in the middle of the document.... all stuff that isn't allowed. Here's the validator report (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.smartecinstallations.com%2F), which will show you the various errors.


06-05-2012, 05:33 AM

Thanks for the reply. I have looked at the index.php for the errors listed but cannot seem to find them; does the validator page validate the whole site or just the index.php?

All my pages are .php is that an issue?

Thanking you once again in advance.


06-05-2012, 06:14 AM
The validator will validate one page at a time; the link I gave was just for your home page. It doesn't matter whether it's generated from php versus a native html file. Not sure why you can't see it, but how about doing a "view source" in your browser?


06-05-2012, 05:05 PM
Wow, looking at the source code on your homepage I wonder how your site is working at all.

If your site is PHP based then you need to be looking for your bad code in your header.php file not your index file.