Table Layout with CSS
table-layout: fixed gives equal columns and faster rendering. border-spacing and empty-cells fine tune tables. Use caption-side to place the caption.
Example
<style>
table { table-layout: fixed; width: 100%; border-collapse: collapse } td { border: 1px solid #64748b; padding: 6px; text-align: center }
</style>
<table><tr><td>A</td><td>B</td><td>C</td></tr></table>Exercise
Equal column widths.
table-layout: ;
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.