Does something like this exist?
The problem is, I want to have a table containing 100 or so cells, and certain cells in the table need to have a certain class (no, it doesn't really follow a patt开发者_运维问答ern).
To do this manually would be VERY tedious. There are tools out there that let you quickly generate tables, but the problem of adding the class to the correct cells still remains. Looking at a table's source code, you don't get a good idea of where a cell lies in the table.
I came across Kotatsu
, and it's almost perfect, apart from the fact that it only allows you to assign classes to entire rows or columns.
If there's another good way to go about doing something like this, I'd love to know!
Visual editors will never beat editing the HTML source. But if you really want, you can try Visual Studio's.
To assign a class to a cell, just add class='className'
to the <td>
element
More info in w3schools
精彩评论