W3C home > Mailing lists > Public > www-validator@w3.org > February 2017

Invalid colspan issue

From: Joel Swanson <joelswanson@charter.net>
Date: Tue, 21 Feb 2017 12:34:36 -0500
To: www-validator@w3.org
Message-ID: <3c07c5e1-0f2f-3edc-eb7e-45f55b2b0d19@charter.net>
The following does not validate.

         <table>
             <tr>
                 <td colspan="6">1</td>
             </tr>
             <tr>
                 <td colspan="3">2</td>
                 <td colspan="3">3</td>
             </tr>
             <tr>
                 <td colspan="2">4</td>
                 <td colspan="2">5</td>
                 <td colspan="2">6</td>
             </tr>
         </table>

I am trying to create a table like this.

I am getting the following message on the colspan="6" line.

/*Table column 2 established by element *//*|td|*//*has no cells 
beginning in it*/

I am assuming it is saying that there are no tds beginning on column 2, 
and there aren't, but this still should validate in my opinion.

It used to validate under XHTML.
Received on Tuesday, 28 February 2017 22:25:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 28 February 2017 22:25:09 UTC