mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
LibWeb: Implement fixed table layout
This commit is contained in:
parent
97512d0c76
commit
ada05ab4e4
13 changed files with 716 additions and 22 deletions
|
@ -0,0 +1,27 @@
|
|||
<style>
|
||||
table {
|
||||
width: 600px;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 50px">cell</td>
|
||||
<td style="width: 50px">cell</td>
|
||||
<td style="width: 100px">A table cell</td>
|
||||
<td style="width: 300px">A table cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>cell</td>
|
||||
<td>cell</td>
|
||||
<td>A table cell</td>
|
||||
<td>A table cell</td>
|
||||
</tr>
|
||||
</table>
|
Loading…
Add table
Add a link
Reference in a new issue