In this tutorial we'll take a simple HTML/CSS template and we're going to flip its direction from LTR to RTL. Simply this Hello World Page is going to be RTLed.
We'll be converting this:

To this:

In any RTLing process, we'll always focus on the following:
direction of the document ofcourse. rtl or ltr.Margins. Spaces between the borders and adjacent blocksPadding. Spacing between the borders and inner content of the blockfloat property or using relative or absolute positioning.Make sure you do the following whenever you try modify anything:
To make sure you're new RTLed page works and make the RTLing process easier I recommend using the below. Feel free to share your recommendations in the comments:
Make sure your new RTLed page is multi-browser compliant. Have it tested to the following browsers:
Known as one of the most popular web browsers. Famous with its very large extension libraries. Personally, I can't live without it :) it's somehow standard compliant (not as good as its cousins Opera, Chrome and Safarit)
The youngest in this list but proved to be among the best. It makes your life easy.
You shouldn't face much trouble with it.
Same as Chrome and Opera.
Internet Explorer is the most important one(to test) for three main reasons:
The most important thing is to start with a standard compliant browser (or close) like Firefox or Safari for example, and then work on the bugs and fix them (if any) in the other browsers (IE); this is called progressive enhancement. I recommend Firefox along with the famous FireBug extension. It'll do magic and will help alot during the RTLing process (or any HTML/CSS modification process).
You can use the simplest editors like notepad or more complex ones like Adobe Dreamweaver..It's up to you. Or you can use something in between. Notepad++ is an excellent choice, light and neat.
Make sure you have some kind of a photo mainpulation tool. Or just a way to flip images horizontally, that's what you'll only need if you want to flip a web page.
Part 2 is ready..Click the link below: RTLing a Hello World WebPage : Getting to Know the HTML/CSS
There are currently 0 users online.
Add new comment