From: Gabriel Wicke Date: Sat, 22 May 2004 22:38:29 +0000 (+0000) Subject: IE 5.5 and 6.0 changes: no more full-width footer in favour of better horizontal... X-Git-Tag: 1.5.0alpha1~3228 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=db015dafb1d57372cfe6e5e6a6d263cbf9d8ba79;p=lhc%2Fweb%2Fwiklou.git IE 5.5 and 6.0 changes: no more full-width footer in favour of better horizontal scrolling behaviour Basically absolute positioning instead of floating. --- diff --git a/stylesheets/commonPrint.css b/stylesheets/commonPrint.css index 872e4d0984..2c06252c22 100644 --- a/stylesheets/commonPrint.css +++ b/stylesheets/commonPrint.css @@ -85,7 +85,7 @@ table.rimage { body { background: White; font-family: "Bitstream Vera Sans",Verdana, sans; - font-size: 11pt !important; + /*font-size: 11pt !important;*/ color: Black; margin: 0; padding: 0; diff --git a/stylesheets/monobook/IE55Fixes.css b/stylesheets/monobook/IE55Fixes.css index 4c2c384ad5..40eb03c588 100644 --- a/stylesheets/monobook/IE55Fixes.css +++ b/stylesheets/monobook/IE55Fixes.css @@ -1,11 +1,29 @@ /* IE5.5/win- only fixes */ -#column-content { display: inline; } -#column-content #content { - margin-top: 3em; - overflow: auto; +#column-content { + float: none; + margin-left: 0; height: 1%; } +#column-content #content { + position: relative; + z-index: 5; + margin-left: 12.2em; + margin-top: 3em; + height: 1%; +} +#column-one { + position: absolute; + top: 0; + left: 0; + z-index: 4; + width: 100%; +} +#footer { + margin-left: 13.6em; + border-left: 1px solid #fabd23; +} + /*#bodyContent div, #bodyContent pre { overflow: auto; }*/ diff --git a/stylesheets/monobook/IE60Fixes.css b/stylesheets/monobook/IE60Fixes.css index b71cb2d099..293836ddbc 100644 --- a/stylesheets/monobook/IE60Fixes.css +++ b/stylesheets/monobook/IE60Fixes.css @@ -2,15 +2,26 @@ /* content area */ /* workaround for various ie float bugs */ +#column-content { + float: none; + margin-left: 0; + height: 1%; +} #column-content #content { + margin-left: 12.2em; margin-top: 3em; height: 1%; } -#bodyContent { - height: 1%; +#column-one { + position: absolute; + top: 0; + left: 0; + z-index: 4; +} +#footer { + margin-left: 13.6em; + border-left: 1px solid #fabd23; } - -#column-content { display: inline; } /* the tabs */ @@ -53,7 +64,7 @@ div.visualClear { } textarea { overflow: auto; - width: 97%; + width: 96%; } div.editsection, diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 57902e37d7..a33aa39aa5 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -824,15 +824,15 @@ fieldset.operaprefsection { margin-left: 15em } /* footer icons need a fixed width */ *>html #f-poweredbyico, *>html #f-copyrightico { width: 88px; } - -/* more IE fixes */ -/* float/negative margin brokenness */ -* html #bodyContent, -* html #bodyContent pre { +*>html #bodyContent, +*>html #bodyContent pre { overflow-x: auto; width: 100%; padding-bottom: 25px; } + +/* more IE fixes */ +/* float/negative margin brokenness */ * html #footer {margin-top: 0;} * html #column-content { display: inline; diff --git a/stylesheets/monobook/rtl.css b/stylesheets/monobook/rtl.css index 2dd986ccab..09ad69f76e 100644 --- a/stylesheets/monobook/rtl.css +++ b/stylesheets/monobook/rtl.css @@ -167,6 +167,23 @@ li#pt-login { #footer { clear: both; } +* html #footer { + margin-left: 0; + margin-right: 13.6em; + border-left: 0; + border-right: 1px solid #fabd23; +} +* html #column-content { + float: none; + margin-left: 0; + margin-right: 0; +} +* html #column-content #content { + margin-left: 0; + margin-top: 3em; +} +* html #column-one { right: 0; } + /* js pref toc */ #preftoc { float: right; } /* workaround for moz bug, displayed bullets on left side */ @@ -174,6 +191,6 @@ li#pt-login { #prefcontrol { float: right; } fieldset.prefsection, fieldset.operaprefsection { + margin-left: 0 !important; margin-right: 15em; - margin-left: 0; }