All checks were successful
ci / fast (linux) (push) Successful in 7m14s
Column widths are determined by <col> elements and first-row cells only, ignoring content in subsequent rows for faster, more predictable layout. Falls back to auto layout when table has no explicit width. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
426 B
HTML
25 lines
426 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body { margin: 0; }
|
|
table { border: 1px solid black; width: 400px; table-layout: fixed; border-spacing: 0; }
|
|
td { border: 1px solid gray; padding: 5px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td>A</td>
|
|
<td>B</td>
|
|
<td>C</td>
|
|
</tr>
|
|
<tr>
|
|
<td>This is a longer text that should NOT affect column widths</td>
|
|
<td>D</td>
|
|
<td>E</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|