Results 1 to 3 of 3

Thread: RTL support for your CSS menus

  1. #1
    Join Date
    Jun 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default RTL support for your CSS menus

    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)?

    Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

  3. #3
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    76
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Other RTL support

    lwc,
    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

    Cheers.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •