My graduation project is to build an educational management system website, but it is stuck in the timetable display.
This is my database field design. I mainly don’t know how to display it on the front end.
For example, the compilation technology course is taught in periods 3 to 5 on Tuesday, and then the compilation technology course will be displayed in periods 3 to 5 in this table, but the general table shows one row of tr, so I don’t know. How can I display this to three vertical lines (sections 3 to 5). .
習慣沉默2017-05-02 09:27:56
time
里面每一节课程的 end - start
计算出具体 rowspan
的值设置在table
Just the corresponding course
rowspan
is to set the number of rows occupied by an element
世界只因有你2017-05-02 09:27:56
Pay attention to learning the table tag, td has colspan and rowspan attributes, which can achieve the effect you mentioned