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>
23 lines
375 B
HTML
23 lines
375 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>
|
|
<col style="width: 150px">
|
|
<col style="width: 100px">
|
|
<col>
|
|
<tr>
|
|
<td>A</td>
|
|
<td>B</td>
|
|
<td>C</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|