aboutsummaryrefslogtreecommitdiffstats
path: root/themes/base/ui.tabs.css
diff options
context:
space:
mode:
authorKlaus Hartl <klaus.hartl@googlemail.com>2009-03-28 18:59:55 +0000
committerKlaus Hartl <klaus.hartl@googlemail.com>2009-03-28 18:59:55 +0000
commit73abb29d2c8d546657a14729692a4d43731d2dda (patch)
treee1b68ef8dedd7d289ff45c07fb3356ab226584b8 /themes/base/ui.tabs.css
parenta39d0d9350dc8589c61a793bb5aca4916406d737 (diff)
downloadjquery-ui-73abb29d2c8d546657a14729692a4d43731d2dda.tar.gz
jquery-ui-73abb29d2c8d546657a14729692a4d43731d2dda.zip
Finally fixed the mutiple row tabs vs float issue (until scrolling is implemented) - fixes #4399. Also fixed: tabs not scrolling in IE when contained in element with overflow set to auto or scroll, tab label text wrap in IE 6.
Diffstat (limited to 'themes/base/ui.tabs.css')
-rw-r--r--themes/base/ui.tabs.css12
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/base/ui.tabs.css b/themes/base/ui.tabs.css
index 3ca6b9a0a..6ade1afbe 100644
--- a/themes/base/ui.tabs.css
+++ b/themes/base/ui.tabs.css
@@ -1,11 +1,11 @@
/* Tabs
----------------------------------*/
-.ui-tabs { padding: .2em; zoom: 1; }
-.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
-.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
+.ui-tabs .ui-tabs-nav { list-style: none; margin: 0; padding: .2em .2em 0; }
+.ui-tabs .ui-tabs-nav li { float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
+.ui-tabs .ui-tabs-panel { display: block; border: 0; padding: 1em 1.4em; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }