mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
9a6a635e51
Use inner height since the paintable adds padding back. Fixes #18842.
27 lines
No EOL
358 B
HTML
27 lines
No EOL
358 B
HTML
<!DOCTYPE html>
|
|
|
|
<head>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1 {
|
|
position: absolute;
|
|
top: 12mm;
|
|
left: 20mm;
|
|
width: 128px;
|
|
height: 128px;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
padding: 44px 0;
|
|
border: 1px solid black;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Test</h1>
|
|
</body>
|
|
|
|
</html> |