mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00

Table should not take up more width than is available inside wrapper after margins are taken in account.
22 lines
No EOL
362 B
HTML
22 lines
No EOL
362 B
HTML
<style>
|
|
* {
|
|
font-family: 'SerenitySans';
|
|
}
|
|
|
|
.wrapper {
|
|
background-color: mediumturquoise;
|
|
}
|
|
|
|
.box {
|
|
display: table;
|
|
background-color: orange;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.cell {
|
|
display: table-cell;
|
|
}
|
|
</style>
|
|
<div class="wrapper"><div class="box"><div class="cell">DaTa DisplaYiNg CSS WeBpaGE ScReEn
|
|
</div></div></div> |