Menu

#50 setAlign for tabs not working?

open
nobody
None
5
2009-07-08
2009-07-08
Anonymous
No

from Mike,
In the dev guide, regarding tabs: http://docs.zkoss.org/wiki/Layout_and_Windows#The_align_Property_of_Tabs

The following markup, according to the screen shot in the guide, should place the tabs at the right, not the left:

<tabbox width="250px">
<tabs align="end">
<tab label="Tab 1" />
<tab label="Tab 2" />
</tabs>
<tabpanels>
<tabpanel>This is panel 1</tabpanel>
<tabpanel>This is panel 2</tabpanel>
</tabpanels>
</tabbox>

However, in both Firefox and IE, the tabs appear on the left, just as they would by default. the "end" is ignored. Am I missing something?

I'm using version 3.5.1.

Thanks,
Mike

Discussion