forked from mirrors/gecko-dev
Automatic update from web-platform-tests [TablesNG] html display table centered fix Centering with margins did not work before. Bug: 1193232 Change-Id: I48a8b62259df7bf03a1cf61de860ce94135f7704 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2800916 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#868888} -- wpt-commits: 336ec39f06d15863a4af6b2aa6592530b37a5aee wpt-pr: 28348
14 lines
257 B
HTML
14 lines
257 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
html {
|
|
width: 280px;
|
|
border: 10px solid green;
|
|
padding: 0;
|
|
margin: auto;
|
|
}
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
<div style="width:280px;height:300px;background:yellow;display:inline-block;"></div>
|