From e52be4a847bc55165aefb4b6695afa7207473400 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Thu, 19 Nov 2009 17:16:30 +0000 Subject: [PATCH] a followup, better fix for what r59224 aimed to do: Fixing a spacing issue with RTL langauges and the dropdown menu --- skins/vector/main-ltr.css | 11 ++++++++--- skins/vector/main-rtl.css | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index a44e9b7deb..d8d9af3ecb 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -213,11 +213,14 @@ body { #head div.vectorMenu h5 { float: left; background-image: url(images/tab-break.png); - background-position: bottom left; background-repeat: no-repeat; - margin-left: -1px; + } + /* IGNORED BY IE6 */ + #head div.vectorMenu > h5 { + background-image: none; } #head div.vectorMenu h5 { + background-position: bottom left; margin-left: -1px; } /* OVERRIDDEN BY COMPLIANT BROWSERS */ @@ -228,9 +231,11 @@ body { height: 2.5em; text-decoration: none; background-image: url(images/tab-break.png); - background-position: bottom right; background-repeat: no-repeat; } + div.vectorMenu h5 a{ + background-position: bottom right; + } /* IGNORED BY IE6 */ div.vectorMenu h5 > a { display: block; diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index ac1907c48a..bb8878eb63 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -213,11 +213,14 @@ body { #head div.vectorMenu h5 { float: left; background-image: url(images/tab-break.png); - background-position: bottom left; background-repeat: no-repeat; - margin-left: -1px; + } + /* IGNORED BY IE6 */ + #head div.vectorMenu > h5 { + background-image: none; } #head div.vectorMenu h5 { + background-position: bottom right; margin-right: -1px; } /* OVERRIDDEN BY COMPLIANT BROWSERS */ @@ -228,9 +231,11 @@ body { height: 2.5em; text-decoration: none; background-image: url(images/tab-break.png); - background-position: bottom right; background-repeat: no-repeat; } + div.vectorMenu h5 a{ + background-position: bottom left; + } /* IGNORED BY IE6 */ div.vectorMenu h5 > a { display: block; -- 2.20.1