Mercurial > daily-edition
changeset 48:446383dc4306
fixed table inheritance in quirks-mode, made tables look nice in general.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 05 Apr 2010 11:21:32 +0000 |
parents | d79bf2ee77f5 |
children | 13565a96f005 |
files | daily-edition.css |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/daily-edition.css Mon Mar 29 00:28:27 2010 +0000 +++ b/daily-edition.css Mon Apr 05 11:21:32 2010 +0000 @@ -5,6 +5,24 @@ background: #f0f0f0; } +/* Rule to fix quirks-mode inheritance behavior */ +table, caption { + font-size: inherit; + font-weight: inherit; + font-style: inherit; + font-variant: inherit; +} + +table { + border-collapse:collapse; + width: 100% +} + +table, tr, td, th { + border: 1px gray solid; + padding: 0.5em; +} + #container { width: 40em; margin: 0 auto;