I like using tables on my site. I have the errors down to one, how do I make BlueVoda Tables comply with HTML 4.01 Transitional w3c. The following is the error message. Can this be done without css? I have been working on this for days now.
An example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Untitled Page</TITLE>
<META name="GENERATOR" content="Created by BlueVoda">
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000">
<DIV style="position:absolute;left:226px;top:108px;widt h:276px;height:149px;z-
index:0" align="left">
ccs
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
<TR>
<TD align="left" valign="top" width="135" height="72"> </TD>
<TD align="left" valign="top" width="136" height="72"> </TD>
</TR>
<TR>
<TD align="left" valign="top" width="135" height="72"> </TD>
<TD align="left" valign="top" width="136" height="72"> </TD>
</TR>
</TABLE>
</DIV>
</BODY>
</HTML>
Error Line 12 column 27: there is no attribute "HEIGHT".
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
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.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type.
pet121
An example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Untitled Page</TITLE>
<META name="GENERATOR" content="Created by BlueVoda">
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000">
<DIV style="position:absolute;left:226px;top:108px;widt h:276px;height:149px;z-
index:0" align="left">
ccs
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
<TR>
<TD align="left" valign="top" width="135" height="72"> </TD>
<TD align="left" valign="top" width="136" height="72"> </TD>
</TR>
<TR>
<TD align="left" valign="top" width="135" height="72"> </TD>
<TD align="left" valign="top" width="136" height="72"> </TD>
</TR>
</TABLE>
</DIV>
</BODY>
</HTML>
Error Line 12 column 27: there is no attribute "HEIGHT".
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
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.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type.
pet121
Comment