layout: Make margin: auto work properly with tables.

Improves the Amazon home page.
This commit is contained in:
Patrick Walton 2015-04-24 14:48:45 -07:00
parent ae99a17a1b
commit 44a30054a1
9 changed files with 246 additions and 98 deletions

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<style>
body, html {
margin: 0;
}
table {
margin: auto;
width: 0px;
border-spacing: 0;
border: none;
}
</style>
</head>
<body>
<table><tr><td>Foooooooooooooooooooooooooooooo</td></tr></table>
</body>
</html>