SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    ltr to rtl shortcut?

    Hi,
    i am creating one page in english and arabic. i did the english thing. setting and making all css. Now about the arabic one. i made the html additional tag to dir="rtl" which set my writing style to right to left.but is there any shortcut way to flip my layout.because in css what was floating left is now right. so is there anyway or i have to dig into css to make its css separately?
    All those who wander aren't lost.

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I would suspect for a shortcut something similar to the following for a modern browser would flip the content: html[dir="rtl"] #whatever { float: left; } or you could make an additional CSS sheet.


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
  •