1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 21:45:07 +00:00
serenity/Tests/LibWeb/Layout/input/table/fixed-margins.html
Aliaksandr Kalenik 09d698e0a0 LibWeb: Exclude table-wrapper margins from table available width
Table should not take up more width than is available inside wrapper
after margins are taken in account.
2023-05-03 15:03:56 +02:00

22 lines
No EOL
436 B
HTML

<style>
* {
font-family: 'SerenitySans';
}
.wrapper {
background-color: mediumturquoise;
}
.box {
display: table;
background-color: orange;
margin-left: 100px;
margin-right: 100px;
}
.cell {
display: table-cell;
}
</style>
<div class="wrapper"><div class="box"><div class="cell">DaTa DisplaYiNg CSS WeBpaGE ScReEn OF aR AddITioN COmmOnLY To AdJuSt PRiCiNG sTYLiNG ceLL oF TAbLeS
</div></div></div>