Need advice with HTML table
- by misha-moroshko
I would like to code an HTML table with messages like this:
The table will contain messages that will spread over first N columns (N may change).
Lets call these N columns, the message area.
Each message is located on X contiguous cells in the message area. X may also change.
Each message has a name that contains words separated with underscores.
How would you recommend to code this table in Javascript/jQuery such that:
It would be easy to define a message (start cell, end cell, color, name)
The name will break only after underscores (rather than in the middle of the word)