Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question about DOCTYPE


bill110

Recommended Posts

I went to http://validator.w3.org/ to validate my code and find any errors and was able to get my page down to 3 errors (2 hidden form check fields, 1 said the FORM element was not allowed) but it also says the page is not valid html 4.01 Transitional. IE, Opera, Firefox all read it ok so i'm not too worried but why would it say this? I changed the DOCTYPE to read: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd"> as suggested on the site but that didn't help.

Any ideas?

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

I went to http://validator.w3.org/ to validate my code and find any errors and was able to get my page down to 3 errors (2 hidden form check fields, 1 said the FORM element was not allowed) but it also says the page is not valid html 4.01 Transitional. IE, Opera, Firefox all read it ok so i'm not too worried but why would it say this? I changed the DOCTYPE to read: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd"> as suggested on the site but that didn't help.

Any ideas?

 

 

Bill:

 

What is your URL and I'll check it in BBEdit. I did not validate mine yet either. Since you are down to 3, I can learn something and be able to help.

Link to comment
Share on other sites

I went to http://validator.w3.org/ to validate my code and find any errors and was able to get my page down to 3 errors (2 hidden form check fields, 1 said the FORM element was not allowed) but it also says the page is not valid html 4.01 Transitional. IE, Opera, Firefox all read it ok so i'm not too worried but why would it say this? I changed the DOCTYPE to read: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd"> as suggested on the site but that didn't help.

Any ideas?

 

 

Bill:

 

What is your URL and I'll check it in BBEdit. I did not validate mine yet either. Since you are down to 3, I can learn something and be able to help.

Link to comment
Share on other sites

Bill:

 

What is your URL and I'll check it in BBEdit. I did not validate mine yet either. Since you are down to 3, I can learn something and be able to help.

http://billscollections.com

Mostly I removed any border="0" cellpadding and cellspacing that were "0" and found a few tags that were'nt closed.

I've only done the default index page.

Started with 27 errors!

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

I went to http://validator.w3.org/ to validate my code and find any errors and was able to get my page down to 3 errors (2 hidden form check fields, 1 said the FORM element was not allowed) but it also says the page is not valid html 4.01 Transitional. IE, Opera, Firefox all read it ok so i'm not too worried but why would it say this? I changed the DOCTYPE to read: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd"> as suggested on the site but that didn't help.

Any ideas?

There's a contribution that goes over how to get it error free. I've never tried it myself since it doesn't gain anything, but you might find it useful. I don't recall the name though. Maybe searching the contributions for validate will turn it up.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Checked that one out and one of the mods is already implemented in my version of oscommerce. The other didnt cause errors.

The only thing I gained was some cross browser differences in page layout were corrected.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...