From 8f22603959f192cd7f6c1eb765d3ee0268d6216a Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 22 Apr 2004 01:15:27 +0000 Subject: [PATCH] IE6 textarea fix: No more js used, instead an insane css combination --- stylesheets/IEFixes.js | 36 +----------------------------- stylesheets/monobook/IE60Fixes.css | 12 ++++++++-- stylesheets/monobook/main.css | 2 +- 3 files changed, 12 insertions(+), 38 deletions(-) diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js index 8b2a01ac06..952280e6d8 100644 --- a/stylesheets/IEFixes.js +++ b/stylesheets/IEFixes.js @@ -8,13 +8,8 @@ function hookit() { // replaced by special indexed logo for now //fixalpha(); if(version == 6) { - relativeforfloats(); - fixtextarea(); var wrapper = document.getElementById('tawrapper'); - if(wrapper) { - //wrapper.attachEvent("onclick", fixtextarea); - window.onresize = refixtextarea; - } + if (!wrapper) relativeforfloats(); } } @@ -29,38 +24,9 @@ function fixalpha(){ logoa.style.backgroundImage = "none"; logoa.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='image')"; } - - - - /* - for (i=0; i