Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to validate site, but comes up with errors


JemCraft

Recommended Posts

I am trying to use html validator to try and sort out my site and (one of the many) errors it has come up with is

 

The "width" attribute has an invalid attribute value "383px". Try using one of the following values: a percent, a positive integer, or "0" (zero). The "p" element cannot be used here. It is contained in a "table" tag that cannot contain it. This element may be contained in "body", "dd", "td", and "th". This element may not be contained in "dl" and "table".

 

 

The code for this bit is:

 

<table width=383px border=0 cellpadding=0 cellspacing=0>
<p>
<tr><td valign=top align=left>

 

Could anyone tell me how to sort this out? Should the <p> go after the <tr><td bit???

 

thanks

jemma

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...