Solved

Right to Left Problem on Safari

Posted on 2010-08-24
8
439 Views
Last Modified: 2012-05-10
On PHP Maker we used the following custom CSS to make the code go from RTL in order to support Hebrew. However the problem is that on MAC SAFARI ONLY the scroll bars do not show up for the window and thus the user cannot scroll left and right to show the whole database. What needs to be changed?
body {

    background-color: #FFFFF0; /* background color */

    color: inherit; /* text color */

    font-family: Arial; /* font name */

    font-size: 12px; /* font size */

    margin: 0; /* top right bottom left */

    height: 100%;

direction:rtl

}

Open in new window

0
Comment
Question by:Starquest321
  • 4
  • 3
8 Comments
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 33515116
try adding this to your body css

overflow: scroll;
0
 

Author Comment

by:Starquest321
ID: 33515156
Which line?
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 33515169
overflow: scroll;

just add that in the body section of your css.  doesn't matter where.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 9

Accepted Solution

by:
CCSOFlag earned 250 total points
ID: 33515676
Like this:
body {
background-color: #FFFFF0; /* background color */
color: inherit; /* text color */
font-family: Arial; /* font name */
font-size: 12px; /* font size */
margin: 0; /* top right bottom left */
height: 100%;
direction:rtl
overflow: scroll;
}

0
 
LVL 16

Assisted Solution

by:HagayMandel
HagayMandel earned 250 total points
ID: 33516662
Generally, use the HTML tag for Hebrew pages:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="he" lang="he" dir="rtl">
Or any variant.
This way the page is rendered correctly and no CSS 'tweaks' are required.
Works in all browsers.
0
 

Author Closing Comment

by:Starquest321
ID: 33518293
Thanks!
0
 

Author Comment

by:Starquest321
ID: 33520732
Can I put that in the CSS?

Like this:
body {
background-color: #FFFFF0; /* background color */
color: inherit; /* text color */
font-family: Arial; /* font name */
font-size: 12px; /* font size */
margin: 0; /* top right bottom left */
height: 100%;
direction:rtl
overflow: scroll;
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="he" lang="he" dir="rtl";

}
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 33521863
no the html info goes in your html tag on your main page.  thanks for the points.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question