Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. HTML Table Error

HTML Table Error

Scheduled Pinned Locked Moved ASP.NET
csharphtmlhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kurian_Kurian
    wrote on last edited by
    #1

    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.

    S 1 Reply Last reply
    0
    • K Kurian_Kurian

      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.

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      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]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups