From 24dd9567021ade6e346aa378890ef2ec3393f6f5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 9 Feb 2006 06:02:10 +0000 Subject: [PATCH] Move the text direction class from to , HTML doesn't allow class on (Wouldn't be needed if the MSIE developers would actually make attribute selectors work on attributes that I actually want to use...) --- skins/MonoBook.php | 6 +++--- skins/monobook/IE70Fixes.css | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/skins/MonoBook.php b/skins/MonoBook.php index d8447fd7f2..82027097fc 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -51,7 +51,7 @@ class MonoBookTemplate extends QuickTemplate { wfSuppressWarnings(); ?> - + html('headlinks') ?> @@ -62,7 +62,7 @@ class MonoBookTemplate extends QuickTemplate { - + data['jsvarurl' ]) { ?> @@ -85,7 +85,7 @@ class MonoBookTemplate extends QuickTemplate { data['body_ondblclick']) { ?>ondblclick="text('body_ondblclick') ?>" data['body_onload' ]) { ?>onload="text('body_onload') ?>" -data['nsclass' ]) { ?>class="text('nsclass') ?>"> + class="text('nsclass') ?> text('dir') ?>">
diff --git a/skins/monobook/IE70Fixes.css b/skins/monobook/IE70Fixes.css index 4866e08c07..c15e185ab1 100644 --- a/skins/monobook/IE70Fixes.css +++ b/skins/monobook/IE70Fixes.css @@ -9,13 +9,13 @@ height: 1%; } -html.rtl #column-one { +.rtl #column-one { /* For some reason it tries to inherit the padding-top into every div, * and I can't figure out how to get it back off. */ padding-top: 0; } -html.rtl #column-one #p-navigation { +.rtl #column-one #p-navigation { margin-top: 160px; } -- 2.20.1