From: Adam Miller Date: Thu, 19 Nov 2009 17:16:30 +0000 (+0000) Subject: a followup, better fix for what r59224 aimed to do: Fixing a spacing issue with RTL... X-Git-Tag: 1.31.0-rc.0~38755 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=e52be4a847bc55165aefb4b6695afa7207473400;p=lhc%2Fweb%2Fwiklou.git a followup, better fix for what r59224 aimed to do: Fixing a spacing issue with RTL langauges and the dropdown menu --- 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;