camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
234 stars 285 forks source link

Table html page adjusted to W3C standards #914

Closed gbengaoluwadahunsi closed 3 months ago

gbengaoluwadahunsi commented 3 months ago

Summary The changes involved updating the outdated cellspacing, cellpadding, and align attributes of the table to modern CSS properties and values. Instead of using these attributes, CSS properties such as padding, border-spacing, and text-align were utilized to achieve the desired layout and alignment.

Motivation The motivation behind this adjustment is to adhere to modern web development best practices and standards. The use of CSS for styling provides more flexibility, maintainability, and compatibility across different devices and browsers. By transitioning away from deprecated HTML attributes to CSS properties, the codebase becomes more future-proof and easier to maintain.

Testing The changes have been thoroughly tested across various browsers and devices to ensure consistent rendering and alignment of the table content. Additionally, automated tests were conducted to verify the functionality and responsiveness of the updated table layout. No regressions or issues were identified during the testing process.