Skip to content

The Ol’ Switcheroo

April 7, 2010

In Assignment 9, we were charged with the task of creating a stylesheet change button which altered at least two aspects of the fixed width/elastic margin Jello layout.  During lecture, Derek switched the two body divs (“main_left” and main_right) by changing the direction of the floating menus.  However, it wasn’t as simple as changing the floating position from left to right … or was it?

CSSJanus Left-to-Right-to-Left-ifyer, by Googler Lindsey Simon, is a FREE webapp that uses cssjanus.py to convert LTR (left to right) and values in a CSS file to RTL counterparts and vice-versa.

After redesigning Assignment 9 to correct for display bugs resulting from the bidirectional flip with CSSJanus, I gained a greater understanding of what’s required to convert CSS for RTL languages when not using tables for layout.

CSSJanus

Advertisements
2 Comments leave one →
  1. Theresa permalink
    April 7, 2010 5:28 pm

    That’s pretty cool. It would be really useful if you were on that ZenGarden CSS website and wanted to do the Ol Switcheroo very easily based on the CSS already written.

  2. Puiyuk Sin permalink
    April 8, 2010 9:43 am

    I think this is a very cool application to use. Same as you, I struggled a lot to try to find out how to switch the margins from left to right, right to left. Sadly, I failed. Now, I will try again just for fun to see if it will really work for me. Thank you.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: