al3ks Posted July 29, 2012 Share Posted July 29, 2012 I'm going through the errors on my site using firefox page source option. For some reason there is a problem with my doctype. It says "Almost standards mode doctype. Expected "<!DOCTYPE html> ". What does this mean? I haven't changed my doctype since first installation of oscommerce 2.3.1 The doctype I have is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 29, 2012 Share Posted July 29, 2012 Probably some CSS validation errors like fractional pixel values or missing unit declarations. Transitional is after all not quirks mode but "almost" standards mode. In html5 if i'm not mistaken it is "limited quirks mode" Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
♥kymation Posted July 29, 2012 Share Posted July 29, 2012 Firefox complains about this but still renders the page correctly. If you change it to what Firefox wants, the W3C validator throws a bunch of errors. I'd leave it the way it came in osC, but it's your choice. Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
MrPhil Posted July 30, 2012 Share Posted July 30, 2012 Your DOCTYPE statement looks fine. You must have some invisible garbage ahead of the line, such as a Byte Order Mark, an empty line, or some spaces before the opening <. index.php itself or any file included/required ahead of where DOCTYPE is output could be at fault. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.