How to adjust html_table_cell width?

How to adjust html_table_cell width?

by Wenbin Xu -
Number of replies: 1

Those proprietary classes used in Attendance module makes code changes (esp. for newbies) is extremely difficult. One thing I try to figure out is how to gently control html table and table cells attributes.

For example, when you look at the screenshot below, one quickly comes to a conclusion that the column width require adjustment so that text and controls on the right side are aligned and displayed properly.

However, when looking into the code in function render_attendance_take_controls(...) in renderer.php, it is confusing because a table was created out of table->data array, where there is no html attributes are open for alter / modification. That makes customization difficult to inject.

Any ideas and hints that I can follow up with to master the skills on customizing html_table/table_cell, etc.?

Attendance take controls layout

Average of ratings: -