Mercurial > hg > bioaid
diff css/default.css @ 24:f4a3ea2e76af
fixed css for IE
author | nick <nrclark@essex.ac.uk> |
---|---|
date | Wed, 21 Nov 2012 18:27:24 +0000 |
parents | 2b8de4c69a20 |
children | 5a2fb49e3566 |
line wrap: on
line diff
--- a/css/default.css Tue Nov 20 20:53:49 2012 +0000 +++ b/css/default.css Wed Nov 21 18:27:24 2012 +0000 @@ -18,7 +18,7 @@ body { background-color: #fff; color: #000; - font-family: "Helvetica Neue", "DejaVu Sans", "Verdana"; + font-family: "Helvetica Neue", "DejaVu Sans", "Verdana", sans-serif; text-align: center; line-height: 150%; } @@ -52,7 +52,7 @@ h1, h2, h3 { font-family: "Gill Sans"; padding: 0; - margin: 1.6em 0 0.6em -0.9em; + margin: 1.6em 0 0.6em 0; line-height: 1.25em; letter-spacing: 0.03em; } @@ -138,9 +138,8 @@ /* display: inline; */ /* IE Hack */ width: 12em; float: left; - text-align: left; margin-right: 2em; - font-family: "Gill Sans"; + font-family: "Gill Sans",sans-serif; font-size: 11pt; text-align: right; border-right: 1px solid #ccc; @@ -155,7 +154,6 @@ padding: 0.3em 0 0.6em 0em; color: #CC0033; font-weight: bold; - font-size: 13pt; } #pages ol li ol { margin-top: 0.3em; @@ -174,16 +172,17 @@ #pages ol li p { font-weight: normal; color: #000; - vertical-align: center; + vertical-align: middle; } #content { /* Parent Wrapper for inside boxes */ /* display: inline; *//* IE Hack */ - float: right; + float: left; width: 44em; margin-left: 0.3em; margin-bottom: 5em; + word-wrap: break-word; /* prevents container divs from wrapping */ } ol.toc {