HTML Table Error
-
I am getting the following error when am adding a table in my page. Validation(XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'table' Validation(XHTML 1.0 Transitional): Attribute 'width' is not a valid attribute of element 'tr' Validation(XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'tr' My Code as follows. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="Admin_AdminLogin" %> <%----%> Test
I commended the second line eventhough still getting these errors.
-
I am getting the following error when am adding a table in my page. Validation(XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'table' Validation(XHTML 1.0 Transitional): Attribute 'width' is not a valid attribute of element 'tr' Validation(XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'tr' My Code as follows. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="Admin_AdminLogin" %> <%----%> Test
I commended the second line eventhough still getting these errors.
Is this actually preventing you from compiling the site? These are XHTML validation errors that simply mean that the XHTML 1.0 Transitional specification doesn't recognize those attributes as valid for that element. It shouldn't prevent you from being able to compile and run the site.
Scott.
—In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]