aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-07-17 10:25:24 +0000
committerchrisaga <chrisaga@piwigo.org>2006-07-17 10:25:24 +0000
commit13c3076d6a35a5f2e1a2df6371fd926979a38e3c (patch)
treec72f55ae845fb4b9574ec962df4e86bf532f8e80
parent2005ee62a111954093db38a8c67d442862c628e0 (diff)
fix bug 472: tags displayed outside of the menubar (at leas for Opera, witing confirmation for Safari)
git-svn-id: http://piwigo.org/svn/trunk@1479 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--template/yoga/fix-ie5-ie6.css5
-rw-r--r--template/yoga/menubar.css6
2 files changed, 9 insertions, 2 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
index 59e3ccee1..2361418e9 100644
--- a/template/yoga/fix-ie5-ie6.css
+++ b/template/yoga/fix-ie5-ie6.css
@@ -25,3 +25,8 @@ UL.tagSelection LI INPUT,
width: 99%; /* buggy IE box model */
}
+/* fix tag clouds : IE doesn't like anything but inline */
+#menubar #menuTagCloud LI
+{
+ display: inline;
+}
diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css
index f8fbdf914..0d5653779 100644
--- a/template/yoga/menubar.css
+++ b/template/yoga/menubar.css
@@ -103,6 +103,8 @@ FORM#quickconnect LABEL {
#menubar #menuTagCloud LI
{
- display: inline;
- white-space: nowrap;
+ display: inline; /* FF doesn't see the inline-block below */
+ white-space: nowrap; /* No line break in the LI but Opera set nowrap to */
+ display: inline-block;/* the whole UL, inline-block fix it. */
+ /* IE wants inline in fix-ie5-ie6.css */
}