Mercurial > moin-mfact
changeset 12:c0f0d71bc89a
Use a different method of centering on msie
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Thu, 05 Jun 2008 11:28:47 +0200 |
| parents | 816037f12ef6 |
| children | ea1e3da31e1e |
| files | mfact/css/msie.css |
| diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mfact/css/msie.css Thu Jun 05 10:58:48 2008 +0200 +++ b/mfact/css/msie.css Thu Jun 05 11:28:47 2008 +0200 @@ -22,3 +22,11 @@ background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='http://moin.sheep.art.pl/static/mfact/content_background_bottom.png'); } + +/* Alternate method of centering that works well in msie 5 */ +div#header, div#content, div#footer { + margin: 0 0 0 -401px; + position: relative; + left: 50%; +} +
