I am trying to make my code xhtml strict compliant - however, i receive an error message that:
"You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. "
Can anyone explain to me how I can solve this? Should i change my doc type to transitional? Or is there another way I can change the code to keep this doc type?
my code is:
<td width="328" height="19" align="center" valign="middle"><img src="images/Karnak_jpg.jpg" name="karnak" width="300" height="300" id="karnak" alt="karnak temple" onload="P7_Snap('karnak','Layer1',-7,303)" /></td>
i'm using dreamweaver, with an extension i downloaded from projectseven.com called "snap layers"
does anyone have a suggestion?