Opened 15 years ago

Closed 15 years ago

#2878 closed bug (notabug)

CSS RTL tab compatibility

Reported by: nlaslett Owned by: klaus.hartl
Priority: minor Milestone:
Component: ui.tabs Version: 1.5b4
Keywords: css rtl tabs Cc:
Blocked by: Blocking:


When operating in a right-to-left environment (direction: rtl), the selected tab (.ui-tabs-selected a) does not display correctly with "position: absolute" in place. This is consistent across IE7, Firefox, and Safari.

Specifically, the A tag displays, but the child SPAN tag does not; it seems to be somewhere else (unseen) on the page. This renders just the right stub of the tab image, but not the full image nor the text.

Removing "position: absolute" from the ".ui-tabs-selected a" selector seems to fix the problem. The only downside is that both "top" and "z-index" also become inoperable, and the selected tab now displays 1px higher, which also reveals the panel top boundary line.

Unselected tabs do not display this problem.

I am using jQuery UI 1.5b4 with the standard ui.tabs.css and ui.tabs.js.


Change History (4)

comment:1 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:2 Changed 15 years ago by paul

Component: ui.coreui.tabs

comment:3 Changed 15 years ago by paul

Owner: changed from paul to klaus.hartl
Status: newassigned

comment:4 Changed 15 years ago by klaus.hartl

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.