1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

LibHTML: Add the <center> element

This is really just "center { display: block; text-align: center; }" in
the default stylesheet, but it totally works!
This commit is contained in:
Andreas Kling 2019-10-16 20:33:00 +02:00
parent 6dbba6ad85
commit 06f084fedd
2 changed files with 6 additions and 0 deletions

View file

@ -53,6 +53,10 @@ dir, hr, menu, pre {
display: block;
}
center {
text-align: center;
}
h1, h2, h3 {
margin-top: 8;
margin-bottom: 8;