Some advices for table, th and td elements

Hi,




I think that the "width" attribute for td, th and table elements is very
useful, and should not be as the attributes that will "Not supported in
HTML5". For example:



<table width="100%">

  <tr>

    <th width="20%">column1</th>

    <th width="30%">column2</th>

    <th>column3</th>

  </tr>

  <tr>

    <td>cell1</td>

    <td>cell2</td>

    <td>cell3</td>

  </tr>

  ...

</table>



The benefits to do this:

1. We can specify the width of columns in a table immediately and simply.

2. Need not write CSS for each table and each column.

3. Need not add the class attributes to these elements in order to applying
the CSS



If this note looks very stupid, forgive me. Looking forward an answer.



Best Greetings & Regards!




River John

2012-7-11

Received on Thursday, 12 July 2012 08:15:35 UTC