From 790161a48b1430ef29c3419b5b8ee82896a93ce8 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 15 Apr 2004 09:15:38 +0000 Subject: [PATCH] some ie fixes --- stylesheets/IEFixes.js | 21 ++++++++++++++++++--- stylesheets/monobook/IE50Fixes.css | 6 ++++++ stylesheets/monobook/IE55Fixes.css | 6 ++++++ stylesheets/monobook/IE60Fixes.css | 6 ++++++ stylesheets/monobook/main.css | 10 +++++++--- 5 files changed, 43 insertions(+), 6 deletions(-) diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js index 02f5d426cb..25991cc611 100644 --- a/stylesheets/IEFixes.js +++ b/stylesheets/IEFixes.js @@ -8,15 +8,30 @@ function fixalpha(){ var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); if (rslt != null && Number(rslt[1]) >= 5.5) { + var logoa = document.getElementById('portlet-logo').firstChild; + var bg = logoa.currentStyle.backgroundImage; + if (bg.match(/\.png/i) != null){ + var mypng = bg.substring(5,bg.length-2); + logoa.style.backgroundImage = "none"; + logoa.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='image')"; + } + + + + /* for (i=0; ihtml #portal-column-content { display: inline; } -/* the full-size images are in center tags */ -* html #bodyContent center, +/* more IE fixes */ +* html #bodyContent span.fullImage, * html #bodyContent pre { overflow: auto; + margin-bottom: 1.5em; } +* html #bodyContent { + display: inline; +} /* opera 6 fixes */ html>body #portal-column-one { -- 2.20.1