Solved

Right to Left Problem on Safari

Posted on 2010-08-24
8
433 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now