View Full Version : RTL support for your CSS menus

06-23-2007, 05:52 PM
Why are these scripts hardcoded for LTR and left aligned sites? What if I want it centered or right aligned not to mention support RTL?

For example, "CSS Horizontal hover menu Drop Down Tabs (5 styles)" and "CSS Horizontal hover menu" cause mayhem when you try right align them with RTL characters. I'd try centering them, but I don't manage to do any centering.

How do I make these scripts RTL aware (or at least centered)?


06-23-2007, 09:03 PM
The alignment of the CSS tabs' text has to do with the CSS for the tabs. Many of them use "float: left" to get the desired effect, which has the drawback of being hard to center the text. If you really need to center the text, consider swapping out the tabs of the corresponding script with one that supports easily centering, such as this one (http://www.dynamicdrive.com/style/csslibrary/item/shade-image-tabs-menu/).

06-25-2007, 09:38 AM
a little off topic (ie. not CSS tabs), but if you also want a RTL, Slashdot like nested submenu .... try http://www.ictinus.com/sdNestedMenu/menu_rightleft.html